Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.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.001446/0.001446, allocations: 93.06 kB / 19.65 MB, free: 280 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.001606/0.001606, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9808/0.9808, allocations: 177.1 MB / 203.4 MB, free: 5.641 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-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 0.8258/0.8258, allocations: 154.9 MB / 414.8 MB, free: 396 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 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.Taps.Examples.Tap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap") translateModel(IDEAS.Fluid.Taps.Examples.Tap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0.5469 kB / 0.5207 GB, free: 1.797 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.001e-05/3.168e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.793 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.01346/0.01349, allocations: 11.37 MB / 0.5318 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007277/0.02077, allocations: 3.483 MB / 0.5352 GB, free: 2.949 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002061/0.02283, allocations: 59.44 kB / 0.5352 GB, free: 2.891 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.02413, allocations: 299.4 kB / 0.5355 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00241/0.02654, allocations: 0.8998 MB / 0.5364 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.02868, allocations: 1.039 MB / 0.5374 GB, free: 0.6641 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00273/0.03141, allocations: 2.49 MB / 0.5398 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.03252, allocations: 0.7305 MB / 0.5406 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.03413, allocations: 1.177 MB / 0.5417 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008415/0.03497, allocations: 0.5918 MB / 0.5423 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.03512, allocations: 80 kB / 0.5424 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007946/0.03592, allocations: 240.6 kB / 0.5426 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.03611, allocations: 243 kB / 0.5428 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003414/0.03645, allocations: 347.1 kB / 0.5432 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.03751, allocations: 0.8384 MB / 0.544 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.03751, allocations: 0 / 0.544 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.003e-06/0.03751, allocations: 0 / 0.544 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.104e-05/0.03754, allocations: 0 / 0.544 GB, free: 9.926 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001494/0.03903, allocations: 1.342 MB / 0.5453 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.03907, allocations: 12.03 kB / 0.5453 GB, free: 8.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.03928, allocations: 168.3 kB / 0.5455 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007953/0.04008, allocations: 0.7478 MB / 0.5462 GB, free: 7.586 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.82e-05/0.04013, allocations: 54.38 kB / 0.5462 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.711e-05/0.0402, allocations: 75.19 kB / 0.5463 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008537/0.04106, allocations: 0.7916 MB / 0.5471 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.04107, allocations: 3.938 kB / 0.5471 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.245e-05/0.04112, allocations: 28 kB / 0.5471 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.04113, allocations: 19.98 kB / 0.5471 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004174/0.04155, allocations: 277.6 kB / 0.5474 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002749/0.0443, allocations: 3.907 MB / 0.5512 GB, free: 2.207 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004313/0.04473, allocations: 189 kB / 0.5514 GB, free: 2.012 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.04486, allocations: 91.62 kB / 0.5515 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.04502, allocations: 31.98 kB / 0.5515 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003028/0.04532, allocations: 291.9 kB / 0.5518 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=39): time 2.976e-06/0.04533, allocations: 0 / 0.5518 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.000624/0.04595, allocations: 371.9 kB / 0.5521 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.04599, allocations: 60.78 kB / 0.5522 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004728/0.04647, allocations: 0.6204 MB / 0.5528 GB, free: 500 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.04651, allocations: 41.69 kB / 0.5528 GB, free: 452 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.04678, allocations: 0.5073 MB / 0.5533 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.766e-05/0.04686, allocations: 126.9 kB / 0.5535 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.04699, allocations: 150 kB / 0.5536 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.04714, allocations: 0.5508 MB / 0.5541 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.0473, allocations: 136.6 kB / 0.5543 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.04765, allocations: 0.6896 MB / 0.5549 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.04804, allocations: 496.9 kB / 0.5554 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.04804, allocations: 0 / 0.5554 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006087/0.04865, allocations: 0.5908 MB / 0.556 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.799e-05/0.0487, allocations: 75.39 kB / 0.5561 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.04871, allocations: 4 kB / 0.5561 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.04872, allocations: 8 kB / 0.5561 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.04899, allocations: 133.9 kB / 0.5562 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.049, allocations: 12 kB / 0.5562 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005849/0.04959, allocations: 75.59 kB / 0.5563 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-05/0.04964, allocations: 43.97 kB / 0.5563 GB, free: 12.49 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 13 (m_flow_set2.count,$PRE.m_flow_set2.count,m_flow_set2.T_start,$PRE.m_flow_set2.T_start,tap2.DHWCom,tap1.DHWCom,m_flow_set1.count,$PRE.m_flow_set1.count,m_flow_set1.T_start,$PRE.m_flow_set1.T_start,$whenCondition1,$whenCondition2,DHWDisCom1_Kh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * 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.0001703/0.04981, allocations: 205.4 kB / 0.5565 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.076e-05/0.04989, allocations: 91.53 kB / 0.5566 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008628/0.05075, allocations: 0.6979 MB / 0.5573 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.05077, allocations: 7.984 kB / 0.5573 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.05077, allocations: 0 / 0.5573 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.05078, allocations: 3.984 kB / 0.5573 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.05219, allocations: 1.351 MB / 0.5586 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.0522, allocations: 4 kB / 0.5586 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.05239, allocations: 87.81 kB / 0.5587 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.0524, allocations: 12 kB / 0.5587 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.05243, allocations: 16 kB / 0.5587 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.05243, allocations: 8.797 kB / 0.5587 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.05244, allocations: 4 kB / 0.5588 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007962/0.05323, allocations: 0.8374 MB / 0.5596 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.05341, allocations: 159.2 kB / 0.5597 GB, free: 8.855 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.684e-05/0.05347, allocations: 16 kB / 0.5597 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.05366, allocations: 42.5 kB / 0.5598 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.05377, allocations: 72.27 kB / 0.5598 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.05381, allocations: 31.98 kB / 0.5599 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002951/0.0541, allocations: 395 kB / 0.5603 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.0541, allocations: 0 / 0.5603 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006212/0.05473, allocations: 251.4 kB / 0.5605 GB, free: 8.074 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (DHWDisCom1_Kh.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,m_flow_set1.T_start,m_flow_set1.count,tap1.DHWCom,tap2.DHWCom,m_flow_set2.T_start,m_flow_set2.count) * Number of discrete states: 2 (m_flow_set2.count,m_flow_set1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003392/0.05506, allocations: 194.5 kB / 0.5607 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006358/0.0557, allocations: 0.5067 MB / 0.5612 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.0557, allocations: 5.344 kB / 0.5612 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002741/0.05598, allocations: 212.6 kB / 0.5614 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000903/0.05688, allocations: 300.2 kB / 0.5617 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.05908, allocations: 1.448 MB / 0.5631 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.05958, allocations: 192.3 kB / 0.5633 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003625/0.05994, allocations: 149.7 kB / 0.5634 GB, free: 4.965 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.06009, allocations: 72.47 kB / 0.5635 GB, free: 4.895 MB / 0.5261 GB Notification: Performance of SimCode: time 1.983e-06/0.06009, allocations: 4 kB / 0.5635 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of Templates: time 0.01996/0.08005, allocations: 15.37 MB / 0.5785 GB, free: 5.895 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.sim & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.127790547441691]