Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 191.3 kB / 22.11 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 207.6 MB / 232.8 MB, free: 2.82 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4217/0.4217, allocations: 55.67 MB / 340.7 MB, free: 11.51 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Annex60.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 71.61 kB / 482.1 MB, free: 36.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1714, allocations: 62.88 MB / 0.5322 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.EntropyFlowRate): time 0.7025/0.8739, allocations: 168.4 MB / 0.6966 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009309/0.8832, allocations: 7.105 MB / 0.7035 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007363/0.884, allocations: 19.78 kB / 0.7035 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.8851, allocations: 261.5 kB / 0.7038 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004385/0.8895, allocations: 1.222 MB / 0.705 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002627/0.8922, allocations: 0.744 MB / 0.7057 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002119/0.8943, allocations: 1.152 MB / 0.7068 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007917/0.8951, allocations: 325.7 kB / 0.7072 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002376/0.8974, allocations: 0.8265 MB / 0.708 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.8985, allocations: 0.5169 MB / 0.7085 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.446e-05/0.8986, allocations: 48.12 kB / 0.7085 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002051/0.9007, allocations: 0.8763 MB / 0.7094 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002534/0.9009, allocations: 205.3 kB / 0.7096 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004768/0.9014, allocations: 280.3 kB / 0.7098 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002207/0.9036, allocations: 1.058 MB / 0.7109 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.9036, allocations: 2.5 kB / 0.7109 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9036, allocations: 0 / 0.7109 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.927e-05/0.9036, allocations: 0 / 0.7109 GB, free: 6.82 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.002112/0.9057, allocations: 0.7629 MB / 0.7116 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.9058, allocations: 10.19 kB / 0.7116 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.9068, allocations: 123.9 kB / 0.7117 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007198/0.9076, allocations: 335.6 kB / 0.7121 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.9077, allocations: 65.16 kB / 0.7121 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-05/0.9077, allocations: 37.41 kB / 0.7122 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.9087, allocations: 469 kB / 0.7126 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.9088, allocations: 0 / 0.7126 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.483e-05/0.9088, allocations: 17.41 kB / 0.7126 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.9088, allocations: 7.688 kB / 0.7126 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008341/0.9097, allocations: 401 kB / 0.713 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002734/0.9124, allocations: 1.501 MB / 0.7145 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005635/0.913, allocations: 257.4 kB / 0.7147 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003154/0.9133, allocations: 125.3 kB / 0.7148 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007387/0.914, allocations: 98.66 kB / 0.7149 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/0.9141, allocations: 39.44 kB / 0.715 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=20): time 2.425e-06/0.9141, allocations: 0 / 0.715 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20): time 0.00104/0.9151, allocations: 423.4 kB / 0.7154 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.9152, allocations: 55.34 kB / 0.7154 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005212/0.9157, allocations: 426.5 kB / 0.7158 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/0.9157, allocations: 32.27 kB / 0.7159 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.9159, allocations: 229.6 kB / 0.7161 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.82e-05/0.916, allocations: 82.48 kB / 0.7162 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.9162, allocations: 59.3 kB / 0.7162 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.9163, allocations: 354.1 kB / 0.7166 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.9166, allocations: 124 kB / 0.7167 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.9169, allocations: 185.3 kB / 0.7169 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005655/0.9175, allocations: 320.4 kB / 0.7172 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.9175, allocations: 1.781 kB / 0.7172 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008079/0.9183, allocations: 396.4 kB / 0.7175 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.9183, allocations: 7.312 kB / 0.7175 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.9183, allocations: 0 / 0.7175 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.9183, allocations: 3.031 kB / 0.7175 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.9186, allocations: 69.92 kB / 0.7176 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.9186, allocations: 4.625 kB / 0.7176 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.9189, allocations: 47.66 kB / 0.7177 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.919, allocations: 14.31 kB / 0.7177 GB, free: 1.969 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002384/0.9192, allocations: 170.9 kB / 0.7178 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.9194, allocations: 42.77 kB / 0.7179 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008465/0.9202, allocations: 398.2 kB / 0.7183 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.9202, allocations: 2.156 kB / 0.7183 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.9202, allocations: 2.25 kB / 0.7183 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.9202, allocations: 0 / 0.7183 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.9217, allocations: 0.8582 MB / 0.7191 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.9217, allocations: 1.844 kB / 0.7191 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.9219, allocations: 49.38 kB / 0.7192 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.988e-06/0.9219, allocations: 6.188 kB / 0.7192 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.9219, allocations: 9.719 kB / 0.7192 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.922, allocations: 2.281 kB / 0.7192 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.922, allocations: 2.781 kB / 0.7192 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.923, allocations: 0.6132 MB / 0.7198 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.9232, allocations: 93.36 kB / 0.7199 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.614e-05/0.9233, allocations: 9.562 kB / 0.7199 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/0.9237, allocations: 22.06 kB / 0.7199 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.252e-05/0.9238, allocations: 19.62 kB / 0.7199 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-05/0.9238, allocations: 22.77 kB / 0.7199 GB, free: 384 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003475/0.9242, allocations: 313.7 kB / 0.7202 GB, free: 188 kB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.9242, allocations: 0 / 0.7202 GB, free: 188 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006812/0.9248, allocations: 154.7 kB / 0.7204 GB, free: 160 kB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (senS_flow.s_out,senS.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006342/0.9255, allocations: 231.3 kB / 0.7206 GB, free: 8 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006436/0.9261, allocations: 290.5 kB / 0.7209 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.9261, allocations: 0 / 0.7209 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.9264, allocations: 138.1 kB / 0.721 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.9276, allocations: 242.9 kB / 0.7212 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.9293, allocations: 0.8786 MB / 0.7221 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004986/0.9298, allocations: 0.8282 MB / 0.7229 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003762/0.9302, allocations: 103.9 kB / 0.723 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.9303, allocations: 40 kB / 0.723 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of SimCode: time 8.22e-07/0.9303, allocations: 0 / 0.723 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of Templates: time 0.021/0.9513, allocations: 10.33 MB / 0.7331 GB, free: 4.277 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.289742867462337] Failed to read output from testmodel.py, exit status != 0: 0.9601324321702123 0.976918225 0.06987693599999995 Calling exit ...