Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002428/0.002428, allocations: 159.2 kB / 22.45 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.515/1.515, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.199/1.199, allocations: 154.6 MB / 413.8 MB, free: 5.219 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.6186 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.433e-05, allocations: 4.656 kB / 0.6186 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5754/0.5754, allocations: 160.5 MB / 0.7754 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006258/0.5817, allocations: 4.156 MB / 0.7794 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005301/0.5822, allocations: 33.53 kB / 0.7795 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007213/0.583, allocations: 260.7 kB / 0.7797 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002024/0.585, allocations: 0.7782 MB / 0.7805 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003753/0.5887, allocations: 1.633 MB / 0.7821 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001373/0.5901, allocations: 1.267 MB / 0.7833 GB, free: 404 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005371/0.5906, allocations: 368.9 kB / 0.7837 GB, free: 148 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.5924, allocations: 0.9878 MB / 0.7846 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004811/0.5928, allocations: 352.9 kB / 0.785 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 7.683e-05/0.5929, allocations: 44.97 kB / 0.785 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002089/0.595, allocations: 1.274 MB / 0.7862 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.5952, allocations: 195.6 kB / 0.7864 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002566/0.5955, allocations: 213 kB / 0.7866 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.5974, allocations: 1.323 MB / 0.7879 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5974, allocations: 2.875 kB / 0.7879 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5974, allocations: 0 / 0.7879 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.5974, allocations: 0 / 0.7879 GB, free: 13.58 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001825/0.5992, allocations: 0.969 MB / 0.7889 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.5993, allocations: 10.91 kB / 0.7889 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/0.6013, allocations: 288.4 kB / 0.7892 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008091/0.6022, allocations: 408.9 kB / 0.7896 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.6022, allocations: 31.28 kB / 0.7896 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.124e-05/0.6023, allocations: 41.38 kB / 0.7896 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.6033, allocations: 0.548 MB / 0.7902 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.6033, allocations: 2.969 kB / 0.7902 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.242e-05/0.6034, allocations: 18.61 kB / 0.7902 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.6034, allocations: 14.69 kB / 0.7902 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.6044, allocations: 455.5 kB / 0.7906 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00245/0.6069, allocations: 1.693 MB / 0.7923 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009955/0.6079, allocations: 387.5 kB / 0.7926 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004841/0.6084, allocations: 210.3 kB / 0.7928 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005394/0.6089, allocations: 98.11 kB / 0.7929 GB, free: 10 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006127/0.6095, allocations: 297 kB / 0.7932 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=37): time 2.084e-06/0.6095, allocations: 4 kB / 0.7932 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37): time 0.001788/0.6113, allocations: 0.6849 MB / 0.7939 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.6114, allocations: 56.41 kB / 0.794 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004358/0.6118, allocations: 392.6 kB / 0.7943 GB, free: 9.168 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.6119, allocations: 35.7 kB / 0.7944 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.6121, allocations: 278.5 kB / 0.7946 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.6122, allocations: 127 kB / 0.7947 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.6123, allocations: 93.95 kB / 0.7948 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.6125, allocations: 353.3 kB / 0.7952 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005297/0.613, allocations: 259.1 kB / 0.7954 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006881/0.6137, allocations: 496.8 kB / 0.7959 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.6148, allocations: 0.5344 MB / 0.7964 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.6148, allocations: 4 kB / 0.7964 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00132/0.6161, allocations: 0.6992 MB / 0.7971 GB, free: 6.977 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.545e-05/0.6162, allocations: 57.19 kB / 0.7972 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.6162, allocations: 11.39 kB / 0.7972 GB, free: 6.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.6162, allocations: 9.5 kB / 0.7972 GB, free: 6.906 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/0.6166, allocations: 93.16 kB / 0.7973 GB, free: 6.883 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.6166, allocations: 4.969 kB / 0.7973 GB, free: 6.883 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004934/0.6171, allocations: 73.25 kB / 0.7973 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/0.6172, allocations: 24.3 kB / 0.7974 GB, free: 6.832 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0002438/0.6174, allocations: 194 kB / 0.7975 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.417e-05/0.6175, allocations: 45.09 kB / 0.7976 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.6187, allocations: 0.5271 MB / 0.7981 GB, free: 6.34 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.6188, allocations: 17.22 kB / 0.7981 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6188, allocations: 0 / 0.7981 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.6188, allocations: 0 / 0.7981 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.621, allocations: 1.218 MB / 0.7993 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.621, allocations: 2.938 kB / 0.7993 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000409/0.6214, allocations: 80.12 kB / 0.7994 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/0.6214, allocations: 9.469 kB / 0.7994 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.6214, allocations: 9.438 kB / 0.7994 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.6214, allocations: 4.875 kB / 0.7994 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.889e-05/0.6215, allocations: 14.98 kB / 0.7994 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.6232, allocations: 0.9286 MB / 0.8003 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.6234, allocations: 86.3 kB / 0.8004 GB, free: 4.785 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.675e-05/0.6235, allocations: 15.48 kB / 0.8004 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/0.6239, allocations: 31.28 kB / 0.8005 GB, free: 4.766 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.6241, allocations: 58.33 kB / 0.8005 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.6241, allocations: 10.56 kB / 0.8005 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003087/0.6244, allocations: 272.2 kB / 0.8008 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6244, allocations: 0 / 0.8008 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005813/0.625, allocations: 160 kB / 0.8009 GB, free: 4.523 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003702/0.6253, allocations: 176.9 kB / 0.8011 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.6266, allocations: 0.6256 MB / 0.8017 GB, free: 3.988 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6266, allocations: 0 / 0.8017 GB, free: 3.988 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006648/0.6273, allocations: 274.6 kB / 0.802 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.6284, allocations: 218 kB / 0.8022 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.6302, allocations: 0.9794 MB / 0.8031 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.6305, allocations: 270.5 kB / 0.8034 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003628/0.6308, allocations: 112.3 kB / 0.8035 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.631, allocations: 37.69 kB / 0.8035 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of SimCode: time 7.81e-07/0.631, allocations: 4 kB / 0.8036 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of Templates: time 0.01691/0.6479, allocations: 9.052 MB / 0.8124 GB, free: 13.2 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.833304695785046] Failed to read output from testmodel.py, exit status != 0: 0.6575692445039749 0.678338702 0.07696883599999994 Calling exit ...