Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001047/0.001047, 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.001125/0.001125, 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 0.976/0.976, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8115/0.8115, allocations: 154.6 MB / 414.9 MB, free: 0.6602 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Fluid.Taps.Examples.TapProfile") translateModel(IDEAS.Fluid.Taps.Examples.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.48e-06/5.48e-06, allocations: 4.547 kB / 0.5203 GB, free: 2.562 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.414e-05/3.962e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.559 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.03534/0.03538, allocations: 45.4 MB / 0.5647 GB, free: 5.133 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0105/0.04589, allocations: 8.947 MB / 0.5734 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.04732, allocations: 59.44 kB / 0.5735 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.0488, allocations: 0.5428 MB / 0.574 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003919/0.05272, allocations: 1.651 MB / 0.5756 GB, free: 9.961 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002487/0.05521, allocations: 1.285 MB / 0.5769 GB, free: 8.676 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003154/0.05836, allocations: 2.67 MB / 0.5795 GB, free: 6.004 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.05953, allocations: 0.7681 MB / 0.5802 GB, free: 5.227 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002767/0.06229, allocations: 1.837 MB / 0.582 GB, free: 3.383 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009192/0.06321, allocations: 0.6346 MB / 0.5826 GB, free: 2.746 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.06331, allocations: 88 kB / 0.5827 GB, free: 2.66 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.06482, allocations: 0.7677 MB / 0.5835 GB, free: 1.891 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.06504, allocations: 278.8 kB / 0.5837 GB, free: 1.617 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003445/0.06539, allocations: 367.1 kB / 0.5841 GB, free: 1.258 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001874/0.06726, allocations: 1.293 MB / 0.5853 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.06727, allocations: 0 / 0.5853 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.673e-06/0.06727, allocations: 0 / 0.5853 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.649e-05/0.06729, allocations: 3.938 kB / 0.5853 GB, free: 15.95 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.001717/0.069, allocations: 1.454 MB / 0.5868 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.06904, allocations: 15.95 kB / 0.5868 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/0.06933, allocations: 184.2 kB / 0.587 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008068/0.07013, allocations: 0.8132 MB / 0.5877 GB, free: 13.42 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.07018, allocations: 53.69 kB / 0.5878 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.07024, allocations: 71.94 kB / 0.5879 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007816/0.07102, allocations: 0.8102 MB / 0.5887 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.07103, allocations: 0 / 0.5887 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/0.07108, allocations: 28 kB / 0.5887 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.07109, allocations: 16 kB / 0.5887 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000406/0.0715, allocations: 275.4 kB / 0.589 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002685/0.07418, allocations: 3.678 MB / 0.5926 GB, free: 8.246 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.0745, allocations: 196.4 kB / 0.5927 GB, free: 8.043 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.07464, allocations: 104.3 kB / 0.5928 GB, free: 7.938 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002982/0.07494, allocations: 108.2 kB / 0.5929 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000319/0.07526, allocations: 283.8 kB / 0.5932 GB, free: 7.516 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=41): time 4.89e-06/0.07526, allocations: 0 / 0.5932 GB, free: 7.516 MB / 0.5573 GB Notification: Performance of matching and sorting (n=41): time 0.0006954/0.07596, allocations: 428.2 kB / 0.5936 GB, free: 7.09 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.07601, allocations: 106.8 kB / 0.5937 GB, free: 6.961 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005638/0.07658, allocations: 0.7102 MB / 0.5944 GB, free: 6.234 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.07661, allocations: 37.69 kB / 0.5945 GB, free: 6.191 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000267/0.07688, allocations: 0.5263 MB / 0.595 GB, free: 5.66 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.836e-05/0.07696, allocations: 138.9 kB / 0.5951 GB, free: 5.523 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.07708, allocations: 135.9 kB / 0.5952 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.07721, allocations: 0.5003 MB / 0.5957 GB, free: 4.875 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.07734, allocations: 73.25 kB / 0.5958 GB, free: 4.801 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.07774, allocations: 0.701 MB / 0.5965 GB, free: 3.906 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004048/0.07815, allocations: 422.3 kB / 0.5969 GB, free: 3.391 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.07815, allocations: 4 kB / 0.5969 GB, free: 3.387 MB / 0.5573 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005803/0.07873, allocations: 480.5 kB / 0.5973 GB, free: 2.91 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.07875, allocations: 8 kB / 0.5973 GB, free: 2.902 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.07876, allocations: 4 kB / 0.5973 GB, free: 2.898 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.07878, allocations: 11.98 kB / 0.5974 GB, free: 2.887 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.07903, allocations: 119.8 kB / 0.5975 GB, free: 2.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.07904, allocations: 15.94 kB / 0.5975 GB, free: 2.754 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.07928, allocations: 67.59 kB / 0.5976 GB, free: 2.688 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.692e-05/0.07933, allocations: 36.23 kB / 0.5976 GB, free: 2.652 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.0001755/0.0795, allocations: 208.3 kB / 0.5978 GB, free: 2.438 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.64e-05/0.0796, allocations: 103.4 kB / 0.5979 GB, free: 2.336 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009701/0.08057, allocations: 0.8117 MB / 0.5987 GB, free: 1.52 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.08059, allocations: 15.98 kB / 0.5987 GB, free: 1.504 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.0806, allocations: 4 kB / 0.5987 GB, free: 1.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.0806, allocations: 3.984 kB / 0.5987 GB, free: 1.496 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.08234, allocations: 1.52 MB / 0.6002 GB, free: 15.89 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.08234, allocations: 0 / 0.6002 GB, free: 15.89 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.08251, allocations: 84.27 kB / 0.6003 GB, free: 15.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.08251, allocations: 15.94 kB / 0.6003 GB, free: 15.79 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.08254, allocations: 27.92 kB / 0.6003 GB, free: 15.76 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.08255, allocations: 11.98 kB / 0.6003 GB, free: 15.75 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.08255, allocations: 0 / 0.6003 GB, free: 15.75 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007118/0.08326, allocations: 0.8314 MB / 0.6011 GB, free: 14.85 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.08346, allocations: 195 kB / 0.6013 GB, free: 14.66 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.55e-05/0.08353, allocations: 19.98 kB / 0.6013 GB, free: 14.64 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.08369, allocations: 31.98 kB / 0.6014 GB, free: 14.61 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.995e-05/0.08377, allocations: 60.34 kB / 0.6014 GB, free: 14.55 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.08381, allocations: 35.92 kB / 0.6015 GB, free: 14.51 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003453/0.08415, allocations: 462.9 kB / 0.6019 GB, free: 14.07 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.08415, allocations: 0 / 0.6019 GB, free: 14.07 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008128/0.08497, allocations: 383 kB / 0.6023 GB, free: 13.69 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.001463/0.08643, allocations: 0.8048 MB / 0.6031 GB, free: 13.11 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005156/0.08694, allocations: 371.5 kB / 0.6034 GB, free: 12.75 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.08695, allocations: 448 / 0.6034 GB, free: 12.75 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002687/0.08722, allocations: 244.5 kB / 0.6036 GB, free: 12.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008389/0.08806, allocations: 343.8 kB / 0.604 GB, free: 12.18 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.09024, allocations: 1.643 MB / 0.6056 GB, free: 10.45 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.09037, allocations: 217.1 kB / 0.6058 GB, free: 10.21 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003346/0.09071, allocations: 174 kB / 0.6059 GB, free: 10.04 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.09084, allocations: 88.45 kB / 0.606 GB, free: 9.957 MB / 0.573 GB Notification: Performance of SimCode: time 1.373e-06/0.09084, allocations: 0 / 0.606 GB, free: 9.957 MB / 0.573 GB Notification: Performance of Templates: time 0.02253/0.1134, allocations: 18.52 MB / 0.6241 GB, free: 7.805 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.sim & ./IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.235860499087721]