Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001433/0.001433, allocations: 84.73 kB / 19.44 MB, free: 356 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.00164/0.00164, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.487/1.487, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 1.206/1.206, allocations: 154.6 MB / 414.1 MB, free: 0.6719 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 178] 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.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.906e-06/2.906e-06, allocations: 0 / 0.5196 GB, free: 2.523 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.993e-05/4.283e-05, allocations: 3.844 kB / 0.5196 GB, free: 2.52 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2303/0.2304, allocations: 147.7 MB / 0.6639 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01048/0.2409, allocations: 5.992 MB / 0.6698 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006338/0.2415, allocations: 15.88 kB / 0.6698 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008246/0.2423, allocations: 186.6 kB / 0.67 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003094/0.2454, allocations: 0.8473 MB / 0.6708 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.2469, allocations: 403 kB / 0.6712 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001329/0.2482, allocations: 0.7171 MB / 0.6719 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006418/0.2488, allocations: 215.4 kB / 0.6721 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002509/0.2513, allocations: 0.8252 MB / 0.6729 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.2524, allocations: 243.3 kB / 0.6731 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.2525, allocations: 24 kB / 0.6731 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008686/0.2533, allocations: 295.1 kB / 0.6734 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002297/0.2536, allocations: 111.6 kB / 0.6735 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002699/0.2538, allocations: 111.8 kB / 0.6736 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.255, allocations: 494.4 kB / 0.6741 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.255, allocations: 0 / 0.6741 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/0.255, allocations: 0 / 0.6741 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.69e-05/0.255, allocations: 0 / 0.6741 GB, free: 3.961 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001243/0.2562, allocations: 0.5477 MB / 0.6746 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.2563, allocations: 8.031 kB / 0.6747 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004758/0.2568, allocations: 99.59 kB / 0.6747 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006555/0.2574, allocations: 268 kB / 0.675 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.2575, allocations: 20.66 kB / 0.675 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.2575, allocations: 24 kB / 0.675 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006788/0.2582, allocations: 321 kB / 0.6754 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.2582, allocations: 0 / 0.6754 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.361e-05/0.2582, allocations: 15.94 kB / 0.6754 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.2582, allocations: 8 kB / 0.6754 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004896/0.2587, allocations: 201.8 kB / 0.6756 GB, free: 2.387 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.001825/0.2606, allocations: 1.137 MB / 0.6767 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.2609, allocations: 110.5 kB / 0.6768 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.2611, allocations: 84.8 kB / 0.6769 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005263/0.2616, allocations: 71.92 kB / 0.6769 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.2617, allocations: 38.75 kB / 0.677 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.2617, allocations: 0 / 0.677 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0008664/0.2625, allocations: 277.3 kB / 0.6772 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.2626, allocations: 51.41 kB / 0.6773 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.2629, allocations: 225.9 kB / 0.6775 GB, free: 320 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/0.2629, allocations: 33.7 kB / 0.6775 GB, free: 280 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.2631, allocations: 192.2 kB / 0.6777 GB, free: 84 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.769e-05/0.2631, allocations: 51.56 kB / 0.6778 GB, free: 32 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2817/0.5449, allocations: 36.39 kB / 0.6778 GB, free: 204.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.545, allocations: 331.2 kB / 0.6781 GB, free: 204 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.5452, allocations: 56.11 kB / 0.6782 GB, free: 204 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.5454, allocations: 200 kB / 0.6784 GB, free: 203.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/0.5457, allocations: 171.3 kB / 0.6785 GB, free: 203.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.5457, allocations: 0 / 0.6785 GB, free: 203.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004713/0.5462, allocations: 222.9 kB / 0.6787 GB, free: 203.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.5462, allocations: 7.812 kB / 0.6787 GB, free: 203.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.5462, allocations: 3.25 kB / 0.6787 GB, free: 203.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.5462, allocations: 4.969 kB / 0.6787 GB, free: 203.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.5464, allocations: 30.47 kB / 0.6788 GB, free: 203.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.5464, allocations: 11.03 kB / 0.6788 GB, free: 203.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.5466, allocations: 22.36 kB / 0.6788 GB, free: 203.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.5466, allocations: 5.938 kB / 0.6788 GB, free: 203.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.000153/0.5468, allocations: 149.1 kB / 0.679 GB, free: 203.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.507e-05/0.5469, allocations: 25.2 kB / 0.679 GB, free: 203.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000437/0.5473, allocations: 206.2 kB / 0.6792 GB, free: 203.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.5473, allocations: 0 / 0.6792 GB, free: 203.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5473, allocations: 7.344 kB / 0.6792 GB, free: 203.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.5473, allocations: 6.047 kB / 0.6792 GB, free: 203.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009134/0.5482, allocations: 0.5923 MB / 0.6798 GB, free: 203.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5482, allocations: 1.875 kB / 0.6798 GB, free: 203.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.5483, allocations: 32.44 kB / 0.6798 GB, free: 203.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.5484, allocations: 2.812 kB / 0.6798 GB, free: 203.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.5484, allocations: 6.656 kB / 0.6798 GB, free: 203.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.5484, allocations: 3.312 kB / 0.6798 GB, free: 203.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.5484, allocations: 2.969 kB / 0.6798 GB, free: 203.3 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003986/0.5488, allocations: 332 kB / 0.6801 GB, free: 203 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.603e-05/0.5489, allocations: 39.97 kB / 0.6802 GB, free: 203 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.5489, allocations: 10.91 kB / 0.6802 GB, free: 203 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.549, allocations: 6.281 kB / 0.6802 GB, free: 203 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/0.5491, allocations: 20.55 kB / 0.6802 GB, free: 203 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.5491, allocations: 4.75 kB / 0.6802 GB, free: 203 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001201/0.5492, allocations: 161.9 kB / 0.6804 GB, free: 202.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.5492, allocations: 0 / 0.6804 GB, free: 202.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004395/0.5497, allocations: 86.88 kB / 0.6804 GB, free: 202.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0002852/0.55, allocations: 137.3 kB / 0.6806 GB, free: 202.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003785/0.5503, allocations: 155 kB / 0.6807 GB, free: 202.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5503, allocations: 0.5469 kB / 0.6807 GB, free: 202.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.5505, allocations: 81.92 kB / 0.6808 GB, free: 202.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006479/0.5511, allocations: 98.34 kB / 0.6809 GB, free: 202.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000893/0.552, allocations: 0.5233 MB / 0.6814 GB, free: 202.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.5522, allocations: 174.8 kB / 0.6816 GB, free: 202.3 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001635/0.5524, allocations: 53.22 kB / 0.6816 GB, free: 202.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/0.5524, allocations: 23.03 kB / 0.6816 GB, free: 202.3 MB / 0.6355 GB Notification: Performance of SimCode: time 1.242e-06/0.5524, allocations: 0 / 0.6816 GB, free: 202.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.008565/0.561, allocations: 3.742 MB / 0.6853 GB, free: 202.1 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.50904549297411]