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.002447/0.002447, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.003078/0.003078, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.58/1.58, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-535:42: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 1.447/1.447, allocations: 154.8 MB / 414.4 MB, free: 480 kB / 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 178] 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.353e-06/1.353e-06, allocations: 0 / 0.5199 GB, free: 2.285 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.714e-05/3.849e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5708/0.5708, allocations: 178.5 MB / 0.6942 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005539/0.5764, allocations: 4.571 MB / 0.6986 GB, free: 47.19 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005674/0.5769, allocations: 30.56 kB / 0.6986 GB, free: 47.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006546/0.5776, allocations: 263.2 kB / 0.6989 GB, free: 47.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.5793, allocations: 0.7873 MB / 0.6997 GB, free: 47.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00335/0.5827, allocations: 1.632 MB / 0.7013 GB, free: 47.09 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001199/0.5839, allocations: 1.262 MB / 0.7025 GB, free: 47.09 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004861/0.5843, allocations: 376.6 kB / 0.7028 GB, free: 47.08 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.5858, allocations: 0.9989 MB / 0.7038 GB, free: 47.05 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004269/0.5863, allocations: 359 kB / 0.7042 GB, free: 47.01 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 8.02e-05/0.5863, allocations: 45 kB / 0.7042 GB, free: 47.01 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001829/0.5882, allocations: 1.27 MB / 0.7054 GB, free: 46.87 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.5883, allocations: 196.5 kB / 0.7056 GB, free: 46.84 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.5886, allocations: 215.3 kB / 0.7058 GB, free: 46.82 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.5901, allocations: 1.335 MB / 0.7071 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.5901, allocations: 0 / 0.7071 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5901, allocations: 0.9062 kB / 0.7071 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.5901, allocations: 3.938 kB / 0.7072 GB, free: 46.7 MB / 0.6355 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.001406/0.5915, allocations: 1.081 MB / 0.7082 GB, free: 46 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.5916, allocations: 8.75 kB / 0.7082 GB, free: 46 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001857/0.5934, allocations: 382 kB / 0.7086 GB, free: 45.92 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006957/0.5941, allocations: 421.9 kB / 0.709 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.5941, allocations: 32.56 kB / 0.709 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.19e-05/0.5942, allocations: 47.22 kB / 0.7091 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007365/0.595, allocations: 0.4972 MB / 0.7095 GB, free: 45.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.595, allocations: 0 / 0.7095 GB, free: 45.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.595, allocations: 19.84 kB / 0.7096 GB, free: 45.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.595, allocations: 10.16 kB / 0.7096 GB, free: 45.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00069/0.5957, allocations: 318.8 kB / 0.7099 GB, free: 45.57 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.5977, allocations: 2.14 MB / 0.712 GB, free: 44.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006683/0.5984, allocations: 278.6 kB / 0.7122 GB, free: 44.17 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/0.5987, allocations: 144.2 kB / 0.7124 GB, free: 44.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004885/0.5992, allocations: 94.53 kB / 0.7125 GB, free: 44.15 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004402/0.5996, allocations: 244.1 kB / 0.7127 GB, free: 44.08 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=37): time 1.643e-06/0.5996, allocations: 0 / 0.7127 GB, free: 44.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37): time 0.001293/0.6009, allocations: 0.5087 MB / 0.7132 GB, free: 44.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.6009, allocations: 60.41 kB / 0.7132 GB, free: 43.95 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003722/0.6013, allocations: 488 kB / 0.7137 GB, free: 43.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.6013, allocations: 36.02 kB / 0.7137 GB, free: 43.74 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.6015, allocations: 344.7 kB / 0.7141 GB, free: 43.54 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.929e-05/0.6016, allocations: 136 kB / 0.7142 GB, free: 43.46 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.6017, allocations: 105.6 kB / 0.7143 GB, free: 43.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.63e-05/0.6018, allocations: 0.5411 MB / 0.7148 GB, free: 42.94 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/0.6021, allocations: 192.9 kB / 0.715 GB, free: 42.88 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004132/0.6026, allocations: 473.6 kB / 0.7155 GB, free: 42.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006681/0.6032, allocations: 477.2 kB / 0.7159 GB, free: 42.29 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6032, allocations: 4.219 kB / 0.7159 GB, free: 42.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009453/0.6042, allocations: 0.6032 MB / 0.7165 GB, free: 42.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.6042, allocations: 66.47 kB / 0.7166 GB, free: 42.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.6042, allocations: 5.406 kB / 0.7166 GB, free: 42.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.6042, allocations: 4.75 kB / 0.7166 GB, free: 42.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/0.6047, allocations: 91.3 kB / 0.7167 GB, free: 42.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.6047, allocations: 11.66 kB / 0.7167 GB, free: 42.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004139/0.6051, allocations: 60.48 kB / 0.7167 GB, free: 42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/0.6051, allocations: 18.06 kB / 0.7168 GB, free: 42 MB / 0.6355 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.0001762/0.6053, allocations: 225.3 kB / 0.717 GB, free: 41.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.086e-05/0.6054, allocations: 59.25 kB / 0.717 GB, free: 41.81 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009052/0.6063, allocations: 415 kB / 0.7174 GB, free: 41.76 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.6063, allocations: 3.656 kB / 0.7174 GB, free: 41.76 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.6063, allocations: 6.203 kB / 0.7174 GB, free: 41.76 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.6063, allocations: 1 kB / 0.7174 GB, free: 41.76 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.6081, allocations: 1.173 MB / 0.7186 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/0.6081, allocations: 5.312 kB / 0.7186 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003675/0.6084, allocations: 70.61 kB / 0.7187 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.6084, allocations: 6.5 kB / 0.7187 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/0.6085, allocations: 9.406 kB / 0.7187 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-06/0.6085, allocations: 12.66 kB / 0.7187 GB, free: 41.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.6085, allocations: 11.84 kB / 0.7187 GB, free: 41.28 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/0.6098, allocations: 0.7982 MB / 0.7195 GB, free: 40.89 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.6101, allocations: 87.66 kB / 0.7196 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.571e-05/0.6101, allocations: 14.52 kB / 0.7196 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.6105, allocations: 33 kB / 0.7196 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.6106, allocations: 51.92 kB / 0.7197 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/0.6107, allocations: 15.45 kB / 0.7197 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003972/0.6111, allocations: 314.7 kB / 0.72 GB, free: 40.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.6111, allocations: 0 / 0.72 GB, free: 40.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006726/0.6118, allocations: 161.3 kB / 0.7201 GB, free: 40.71 MB / 0.6355 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.0003116/0.6121, allocations: 195.8 kB / 0.7203 GB, free: 40.61 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009443/0.613, allocations: 0.5313 MB / 0.7208 GB, free: 40.41 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.613, allocations: 1.094 kB / 0.7208 GB, free: 40.41 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003943/0.6134, allocations: 192 kB / 0.721 GB, free: 40.39 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.6145, allocations: 218.9 kB / 0.7212 GB, free: 40.39 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.6162, allocations: 1.002 MB / 0.7222 GB, free: 39.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.6165, allocations: 263.7 kB / 0.7225 GB, free: 39.72 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004361/0.617, allocations: 97.42 kB / 0.7225 GB, free: 39.71 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.6171, allocations: 43.64 kB / 0.7226 GB, free: 39.7 MB / 0.6355 GB Notification: Performance of SimCode: time 1.002e-06/0.6171, allocations: 2.094 kB / 0.7226 GB, free: 39.7 MB / 0.6355 GB Notification: Performance of Templates: time 0.01837/0.6355, allocations: 9.309 MB / 0.7317 GB, free: 38.88 MB / 0.6355 GB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.178728532977402]