Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007543/0.0007543, allocations: 76.55 kB / 19.93 MB, free: 4.617 MB / 18.57 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.0007716/0.0007716, allocations: 177.9 kB / 23.22 MB, free: 1.332 MB / 18.57 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 0.8711/0.8711, allocations: 177.2 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6849/0.6849, allocations: 154.5 MB / 414.5 MB, free: 0.8398 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.6193 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.326e-05, allocations: 2.281 kB / 0.6193 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4466/0.4467, allocations: 160.5 MB / 0.7761 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.003915/0.4506, allocations: 4.158 MB / 0.7801 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002722/0.4509, allocations: 27.75 kB / 0.7801 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0005112/0.4514, allocations: 258 kB / 0.7804 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.4526, allocations: 0.7808 MB / 0.7812 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.4547, allocations: 1.645 MB / 0.7828 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0008478/0.4556, allocations: 1.261 MB / 0.784 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000392/0.456, allocations: 366.8 kB / 0.7843 GB, free: 7.316 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.457, allocations: 0.9874 MB / 0.7853 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.4573, allocations: 358.9 kB / 0.7857 GB, free: 5.977 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 5.134e-05/0.4573, allocations: 44 kB / 0.7857 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.4585, allocations: 1.269 MB / 0.7869 GB, free: 4.66 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.4587, allocations: 199.3 kB / 0.7871 GB, free: 4.465 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.4589, allocations: 215.5 kB / 0.7873 GB, free: 4.254 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.4601, allocations: 1.324 MB / 0.7886 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4601, allocations: 0 / 0.7886 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4601, allocations: 0 / 0.7886 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.4601, allocations: 0 / 0.7886 GB, free: 2.926 MB / 0.6511 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.001103/0.4612, allocations: 0.9643 MB / 0.7896 GB, free: 1.918 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.4612, allocations: 13.47 kB / 0.7896 GB, free: 1.906 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.4622, allocations: 287.3 kB / 0.7898 GB, free: 1.625 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004997/0.4627, allocations: 406.6 kB / 0.7902 GB, free: 1.203 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.4627, allocations: 29 kB / 0.7903 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-05/0.4628, allocations: 44 kB / 0.7903 GB, free: 1.133 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006127/0.4634, allocations: 0.5507 MB / 0.7908 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.4634, allocations: 0 / 0.7908 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.4635, allocations: 20 kB / 0.7909 GB, free: 0.5312 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.4635, allocations: 8 kB / 0.7909 GB, free: 0.5234 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005735/0.464, allocations: 455.5 kB / 0.7913 GB, free: 80 kB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.4655, allocations: 1.705 MB / 0.793 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005662/0.466, allocations: 392.6 kB / 0.7933 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/0.4663, allocations: 209.3 kB / 0.7935 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002631/0.4666, allocations: 99.75 kB / 0.7936 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003805/0.4669, allocations: 284.5 kB / 0.7939 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=37): time 1.533e-06/0.4669, allocations: 0 / 0.7939 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of matching and sorting (n=37): time 0.0009922/0.4679, allocations: 0.6954 MB / 0.7946 GB, free: 12.63 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.468, allocations: 55.41 kB / 0.7946 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.4682, allocations: 385.8 kB / 0.795 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.4683, allocations: 41.64 kB / 0.7951 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.4684, allocations: 284.5 kB / 0.7953 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.212e-05/0.4685, allocations: 126.9 kB / 0.7954 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.4686, allocations: 90.14 kB / 0.7955 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.4687, allocations: 358.8 kB / 0.7959 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.469, allocations: 248.2 kB / 0.7961 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003707/0.4694, allocations: 499.9 kB / 0.7966 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005779/0.4699, allocations: 0.5411 MB / 0.7971 GB, free: 9.848 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.4699, allocations: 0 / 0.7971 GB, free: 9.848 MB / 0.6667 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007439/0.4707, allocations: 0.7063 MB / 0.7978 GB, free: 9.109 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.4707, allocations: 59.41 kB / 0.7979 GB, free: 9.039 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4707, allocations: 0 / 0.7979 GB, free: 9.039 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.4707, allocations: 15.92 kB / 0.7979 GB, free: 9.023 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.471, allocations: 92.27 kB / 0.798 GB, free: 8.934 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.471, allocations: 18.11 kB / 0.798 GB, free: 8.918 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.4712, allocations: 67.69 kB / 0.798 GB, free: 8.852 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.4712, allocations: 20 kB / 0.7981 GB, free: 8.832 MB / 0.6667 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.0001536/0.4714, allocations: 188.4 kB / 0.7982 GB, free: 8.641 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.4714, allocations: 47.72 kB / 0.7983 GB, free: 8.594 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006592/0.4721, allocations: 0.5309 MB / 0.7988 GB, free: 8.059 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.4721, allocations: 13.48 kB / 0.7988 GB, free: 8.047 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.4721, allocations: 0 / 0.7988 GB, free: 8.047 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.4721, allocations: 3.984 kB / 0.7988 GB, free: 8.043 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.4733, allocations: 1.228 MB / 0.8 GB, free: 6.734 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4733, allocations: 4 kB / 0.8 GB, free: 6.73 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.4735, allocations: 71.89 kB / 0.8001 GB, free: 6.66 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.4735, allocations: 4 kB / 0.8001 GB, free: 6.656 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.4736, allocations: 15.98 kB / 0.8001 GB, free: 6.641 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4736, allocations: 4 kB / 0.8001 GB, free: 6.637 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4736, allocations: 7.938 kB / 0.8001 GB, free: 6.629 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009585/0.4745, allocations: 0.9294 MB / 0.801 GB, free: 5.637 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.4746, allocations: 91.53 kB / 0.8011 GB, free: 5.547 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.4747, allocations: 14.19 kB / 0.8011 GB, free: 5.535 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.4748, allocations: 35.95 kB / 0.8012 GB, free: 5.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.99e-05/0.4749, allocations: 55.81 kB / 0.8012 GB, free: 5.445 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.475, allocations: 12 kB / 0.8012 GB, free: 5.434 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001849/0.4751, allocations: 263.1 kB / 0.8015 GB, free: 5.176 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5e-08/0.4751, allocations: 0 / 0.8015 GB, free: 5.176 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003517/0.4755, allocations: 159.8 kB / 0.8016 GB, free: 5.02 MB / 0.6667 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.0002531/0.4757, allocations: 184.8 kB / 0.8018 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006824/0.4764, allocations: 0.6266 MB / 0.8024 GB, free: 4.168 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4764, allocations: 0 / 0.8024 GB, free: 4.168 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003503/0.4768, allocations: 263.7 kB / 0.8027 GB, free: 3.91 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006013/0.4774, allocations: 203.1 kB / 0.8029 GB, free: 3.723 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.4785, allocations: 1.015 MB / 0.8039 GB, free: 2.633 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.4787, allocations: 266 kB / 0.8041 GB, free: 2.348 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.4788, allocations: 44.5 kB / 0.8042 GB, free: 2.305 MB / 0.6667 GB Notification: Performance of SimCode: time 4.91e-07/0.4788, allocations: 0 / 0.8042 GB, free: 2.305 MB / 0.6667 GB Notification: Performance of Templates: time 0.007039/0.4859, allocations: 8.248 MB / 0.8122 GB, free: 10.15 MB / 0.6823 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.794969741255045] Failed to read output from testmodel.py, exit status != 0: 0.49153353460133076 0.499243433 0.037470965 Calling exit ...