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.001666/0.001666, allocations: 88.72 kB / 19.44 MB, free: 328 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.001954/0.001954, allocations: 161.7 kB / 22.76 MB, free: 1.652 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.592/1.592, allocations: 177.1 MB / 203.1 MB, free: 5.262 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.259/1.259, allocations: 154.8 MB / 414.4 MB, free: 384 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.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 1.943e-06/1.943e-06, allocations: 0 / 0.5198 GB, free: 2.273 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.186e-05, allocations: 9.859 kB / 0.5198 GB, free: 2.27 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.05368/0.05371, allocations: 40.1 MB / 0.559 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0161/0.06981, allocations: 8.205 MB / 0.567 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.07148, allocations: 59.44 kB / 0.5671 GB, free: 1.93 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.07361, allocations: 0.5515 MB / 0.5676 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.005549/0.07916, allocations: 1.639 MB / 0.5692 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003842/0.083, allocations: 1.295 MB / 0.5705 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.004312/0.08731, allocations: 2.661 MB / 0.5731 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001869/0.08918, allocations: 0.7655 MB / 0.5738 GB, free: 11 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00437/0.09355, allocations: 1.844 MB / 0.5756 GB, free: 9.156 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.09528, allocations: 0.6217 MB / 0.5762 GB, free: 8.535 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0002536/0.09553, allocations: 88 kB / 0.5763 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002099/0.09763, allocations: 0.7715 MB / 0.5771 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003951/0.09802, allocations: 270.9 kB / 0.5773 GB, free: 7.41 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0007107/0.09873, allocations: 367.1 kB / 0.5777 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.003197/0.1019, allocations: 1.733 MB / 0.5794 GB, free: 5.312 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1019, allocations: 4 kB / 0.5794 GB, free: 5.309 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1019, allocations: 0 / 0.5794 GB, free: 5.309 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.14e-05/0.102, allocations: 0 / 0.5794 GB, free: 5.309 MB / 0.5417 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.002792/0.1048, allocations: 1.358 MB / 0.5807 GB, free: 3.906 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1048, allocations: 8.031 kB / 0.5807 GB, free: 3.898 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007182/0.1055, allocations: 184.2 kB / 0.5809 GB, free: 3.719 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/0.1073, allocations: 0.8098 MB / 0.5817 GB, free: 2.883 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.337e-05/0.1073, allocations: 57.62 kB / 0.5817 GB, free: 2.828 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.1075, allocations: 75.92 kB / 0.5818 GB, free: 2.754 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.1092, allocations: 0.9485 MB / 0.5827 GB, free: 1.703 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1093, allocations: 0 / 0.5827 GB, free: 1.703 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.513e-05/0.1093, allocations: 32 kB / 0.5828 GB, free: 1.672 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.664e-05/0.1094, allocations: 19.94 kB / 0.5828 GB, free: 1.652 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.1105, allocations: 0.5163 MB / 0.5833 GB, free: 1.133 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004361/0.1149, allocations: 2.96 MB / 0.5862 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008007/0.1157, allocations: 329.5 kB / 0.5865 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004224/0.1161, allocations: 199.4 kB / 0.5867 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004265/0.1165, allocations: 112.2 kB / 0.5868 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006889/0.1172, allocations: 373.9 kB / 0.5871 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=41): time 1.984e-06/0.1172, allocations: 4 kB / 0.5871 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of matching and sorting (n=41): time 0.001953/0.1192, allocations: 0.6577 MB / 0.5878 GB, free: 12.37 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.1193, allocations: 110.8 kB / 0.5879 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.1205, allocations: 0.7471 MB / 0.5886 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.089e-05/0.1205, allocations: 41.7 kB / 0.5887 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005063/0.121, allocations: 488.2 kB / 0.5891 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/0.1212, allocations: 142.8 kB / 0.5893 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/0.1214, allocations: 134.3 kB / 0.5894 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002064/0.1216, allocations: 329.9 kB / 0.5897 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004043/0.122, allocations: 173.2 kB / 0.5899 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009624/0.123, allocations: 0.7358 MB / 0.5906 GB, free: 9.273 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.1241, allocations: 0.549 MB / 0.5911 GB, free: 8.648 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.1241, allocations: 4 kB / 0.5911 GB, free: 8.645 MB / 0.5573 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001461/0.1255, allocations: 0.6686 MB / 0.5918 GB, free: 7.969 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1255, allocations: 12.03 kB / 0.5918 GB, free: 7.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.1256, allocations: 11.98 kB / 0.5918 GB, free: 7.945 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/0.1256, allocations: 11.94 kB / 0.5918 GB, free: 7.934 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/0.1261, allocations: 119.8 kB / 0.5919 GB, free: 7.816 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.065e-05/0.1261, allocations: 15.92 kB / 0.5919 GB, free: 7.801 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005217/0.1266, allocations: 67.64 kB / 0.592 GB, free: 7.734 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.37e-05/0.1267, allocations: 35.98 kB / 0.592 GB, free: 7.699 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.0004399/0.1271, allocations: 273.4 kB / 0.5923 GB, free: 7.422 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.1273, allocations: 103.4 kB / 0.5924 GB, free: 7.32 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/0.1296, allocations: 1.12 MB / 0.5935 GB, free: 6.191 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.749e-05/0.1296, allocations: 19.98 kB / 0.5935 GB, free: 6.172 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1297, allocations: 0 / 0.5935 GB, free: 6.172 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.1297, allocations: 3.984 kB / 0.5935 GB, free: 6.168 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003404/0.1331, allocations: 1.823 MB / 0.5953 GB, free: 4.277 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/0.1331, allocations: 4 kB / 0.5953 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003273/0.1334, allocations: 87.89 kB / 0.5954 GB, free: 4.188 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/0.1334, allocations: 7.938 kB / 0.5954 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.478e-05/0.1335, allocations: 27.98 kB / 0.5954 GB, free: 4.152 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.186e-05/0.1335, allocations: 11.92 kB / 0.5954 GB, free: 4.141 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.1335, allocations: 4 kB / 0.5954 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.1353, allocations: 1.032 MB / 0.5964 GB, free: 3.051 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003749/0.1357, allocations: 195 kB / 0.5966 GB, free: 2.859 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.1358, allocations: 20 kB / 0.5967 GB, free: 2.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004092/0.1362, allocations: 31.97 kB / 0.5967 GB, free: 2.809 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.1363, allocations: 60.34 kB / 0.5967 GB, free: 2.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.816e-05/0.1364, allocations: 35.91 kB / 0.5968 GB, free: 2.715 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008116/0.1372, allocations: 0.5029 MB / 0.5973 GB, free: 2.219 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.1372, allocations: 0 / 0.5973 GB, free: 2.219 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001378/0.1386, allocations: 394.8 kB / 0.5976 GB, free: 1.832 MB / 0.5573 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.003076/0.1417, allocations: 0.86 MB / 0.5985 GB, free: 1.223 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001417/0.1431, allocations: 0.5923 MB / 0.5991 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.1431, allocations: 384 / 0.5991 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007106/0.1438, allocations: 374.7 kB / 0.5994 GB, free: 272 kB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.1456, allocations: 326.4 kB / 0.5997 GB, free: 15.96 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/0.1491, allocations: 1.803 MB / 0.6015 GB, free: 14.08 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008367/0.1499, allocations: 471.5 kB / 0.6019 GB, free: 13.59 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005781/0.1505, allocations: 174 kB / 0.6021 GB, free: 13.42 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002427/0.1508, allocations: 92.44 kB / 0.6022 GB, free: 13.32 MB / 0.573 GB Notification: Performance of SimCode: time 1.693e-06/0.1508, allocations: 0 / 0.6022 GB, free: 13.32 MB / 0.573 GB Notification: Performance of Templates: time 0.0364/0.1872, allocations: 18.42 MB / 0.6202 GB, free: 11.26 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.811707146000117]