Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.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.00147/0.00147, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.002026/0.002026, allocations: 173 kB / 23.49 MB, free: 1.059 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.084/1.084, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.7937/0.7937, allocations: 154.8 MB / 415.1 MB, free: 492 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.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile") translateModel(IDEAS.Fluid.Taps.Examples.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.5205 GB, free: 2.285 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.333e-05/3.556e-05, allocations: 6.25 kB / 0.5206 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.04987/0.04991, allocations: 45.42 MB / 0.5649 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01098/0.06088, allocations: 8.939 MB / 0.5736 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001842/0.06273, allocations: 59.44 kB / 0.5737 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.06441, allocations: 0.5428 MB / 0.5742 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.00427/0.06868, allocations: 1.651 MB / 0.5758 GB, free: 9.68 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002669/0.07135, allocations: 1.286 MB / 0.5771 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003301/0.07465, allocations: 2.666 MB / 0.5797 GB, free: 5.719 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/0.0761, allocations: 0.7711 MB / 0.5805 GB, free: 4.945 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0038/0.0799, allocations: 1.834 MB / 0.5822 GB, free: 3.105 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.08104, allocations: 0.623 MB / 0.5829 GB, free: 2.48 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.0812, allocations: 92 kB / 0.5829 GB, free: 2.391 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001892/0.08309, allocations: 0.7753 MB / 0.5837 GB, free: 1.613 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003107/0.0834, allocations: 270.9 kB / 0.584 GB, free: 1.348 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005166/0.08392, allocations: 363.1 kB / 0.5843 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.00252/0.08644, allocations: 1.3 MB / 0.5856 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.08644, allocations: 0 / 0.5856 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.505e-06/0.08645, allocations: 4 kB / 0.5856 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.142e-05/0.08647, allocations: 0 / 0.5856 GB, free: 15.68 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.00184/0.08831, allocations: 1.45 MB / 0.587 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.08836, allocations: 12.03 kB / 0.587 GB, free: 14.17 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003848/0.08875, allocations: 184.2 kB / 0.5872 GB, free: 13.99 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009947/0.08974, allocations: 0.8248 MB / 0.588 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.083e-05/0.08979, allocations: 53.69 kB / 0.588 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.08986, allocations: 71.94 kB / 0.5881 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008925/0.09075, allocations: 0.8096 MB / 0.5889 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.09077, allocations: 3.938 kB / 0.5889 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.418e-05/0.09081, allocations: 28 kB / 0.5889 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.09083, allocations: 16 kB / 0.5889 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004418/0.09127, allocations: 271.4 kB / 0.5892 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002617/0.09389, allocations: 3.682 MB / 0.5928 GB, free: 7.965 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/0.09423, allocations: 188.4 kB / 0.593 GB, free: 7.77 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.09437, allocations: 107.4 kB / 0.5931 GB, free: 7.664 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000287/0.09466, allocations: 112.2 kB / 0.5932 GB, free: 7.555 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000314/0.09497, allocations: 291.5 kB / 0.5935 GB, free: 7.23 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=41): time 3.818e-06/0.09498, allocations: 4 kB / 0.5935 GB, free: 7.227 MB / 0.5573 GB Notification: Performance of matching and sorting (n=41): time 0.0007293/0.09571, allocations: 409.6 kB / 0.5939 GB, free: 6.82 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.09576, allocations: 110.8 kB / 0.594 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006165/0.09638, allocations: 0.7141 MB / 0.5947 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.09642, allocations: 33.7 kB / 0.5947 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/0.0967, allocations: 0.5224 MB / 0.5952 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.897e-05/0.09679, allocations: 142.8 kB / 0.5953 GB, free: 5.246 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.09692, allocations: 139.9 kB / 0.5955 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.09706, allocations: 0.4925 MB / 0.596 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.09719, allocations: 73.25 kB / 0.596 GB, free: 4.527 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/0.09759, allocations: 0.7049 MB / 0.5967 GB, free: 3.629 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/0.098, allocations: 433 kB / 0.5971 GB, free: 3.102 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.098, allocations: 0 / 0.5971 GB, free: 3.102 MB / 0.5573 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006512/0.09865, allocations: 484.5 kB / 0.5976 GB, free: 2.621 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.09867, allocations: 8 kB / 0.5976 GB, free: 2.613 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.09868, allocations: 8 kB / 0.5976 GB, free: 2.605 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.0987, allocations: 8 kB / 0.5976 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.09898, allocations: 127.7 kB / 0.5977 GB, free: 2.473 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.09899, allocations: 8 kB / 0.5977 GB, free: 2.465 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.09925, allocations: 67.92 kB / 0.5978 GB, free: 2.398 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.201e-05/0.09931, allocations: 35.98 kB / 0.5978 GB, free: 2.363 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.tap2.demPro.nextTimeEvent,$whenCondition2,$PRE.tap1.demPro.nextTimeEvent,$whenCondition1,tap2.demPro.nextTimeEventScaled,$PRE.tap2.demPro.nextTimeEventScaled,tap2.demPro.nextTimeEvent,tap2.DHWCom,tap1.demPro.nextTimeEventScaled,$PRE.tap1.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEvent,tap1.DHWCom) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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.0001919/0.0995, allocations: 216.2 kB / 0.598 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.0996, allocations: 99.44 kB / 0.5981 GB, free: 2.043 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.1006, allocations: 0.8195 MB / 0.5989 GB, free: 1.215 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/0.1007, allocations: 15.98 kB / 0.599 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1007, allocations: 0 / 0.599 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1007, allocations: 3.984 kB / 0.599 GB, free: 1.195 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.1023, allocations: 1.512 MB / 0.6004 GB, free: 15.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.1023, allocations: 4.375 kB / 0.6004 GB, free: 15.59 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.1025, allocations: 95.81 kB / 0.6005 GB, free: 15.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.1025, allocations: 11.94 kB / 0.6005 GB, free: 15.49 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.1025, allocations: 19.98 kB / 0.6006 GB, free: 15.47 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.1025, allocations: 8 kB / 0.6006 GB, free: 15.46 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.1025, allocations: 7.938 kB / 0.6006 GB, free: 15.45 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008166/0.1033, allocations: 0.8276 MB / 0.6014 GB, free: 14.55 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/0.1036, allocations: 195 kB / 0.6016 GB, free: 14.36 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.205e-05/0.1036, allocations: 16 kB / 0.6016 GB, free: 14.35 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.1038, allocations: 39.97 kB / 0.6016 GB, free: 14.31 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.498e-05/0.1039, allocations: 52.41 kB / 0.6017 GB, free: 14.26 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/0.1039, allocations: 35.92 kB / 0.6017 GB, free: 14.22 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003727/0.1043, allocations: 458.9 kB / 0.6021 GB, free: 13.78 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/0.1043, allocations: 0 / 0.6021 GB, free: 13.78 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008921/0.1052, allocations: 379 kB / 0.6025 GB, free: 13.41 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,tap1.DHWCom,tap1.demPro.nextTimeEvent,tap1.demPro.nextTimeEventScaled,tap2.DHWCom,tap2.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled) * Number of discrete states: 4 (tap2.demPro.nextTimeEvent,tap1.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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.001586/0.1068, allocations: 0.8084 MB / 0.6033 GB, free: 12.82 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0006031/0.1074, allocations: 375.9 kB / 0.6037 GB, free: 12.45 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.728e-06/0.1074, allocations: 64 / 0.6037 GB, free: 12.45 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003001/0.1077, allocations: 252.4 kB / 0.6039 GB, free: 12.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009325/0.1086, allocations: 334.5 kB / 0.6042 GB, free: 11.89 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.1112, allocations: 1.638 MB / 0.6058 GB, free: 10.16 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.1114, allocations: 217.1 kB / 0.606 GB, free: 9.93 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004714/0.1119, allocations: 170 kB / 0.6062 GB, free: 9.762 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.1121, allocations: 96.44 kB / 0.6063 GB, free: 9.664 MB / 0.573 GB Notification: Performance of SimCode: time 1.853e-06/0.1121, allocations: 0 / 0.6063 GB, free: 9.664 MB / 0.573 GB Notification: Performance of Templates: time 0.02746/0.1395, allocations: 18.51 MB / 0.6243 GB, free: 7.516 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.sim & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.461870237020776]