Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 113.1 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 225.6 MB / 249.3 MB, free: 3.312 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 0.9731/0.9731, allocations: 175.7 MB / 480.1 MB, free: 3.211 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 73.17 kB / 0.6678 GB, free: 10.9 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.15, allocations: 94.53 MB / 0.7601 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4907/0.6407, allocations: 180.3 MB / 0.9362 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.008953/0.6496, allocations: 7.919 MB / 0.9439 GB, free: 9.336 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005304/0.6502, allocations: 20.44 kB / 0.9439 GB, free: 9.328 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006824/0.6508, allocations: 253.7 kB / 0.9442 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002723/0.6536, allocations: 1.259 MB / 0.9454 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.6552, allocations: 0.7505 MB / 0.9461 GB, free: 7.602 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00102/0.6562, allocations: 1.067 MB / 0.9472 GB, free: 6.988 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004742/0.6567, allocations: 339.5 kB / 0.9475 GB, free: 6.75 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/0.6591, allocations: 0.993 MB / 0.9485 GB, free: 6.152 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005683/0.6596, allocations: 451.5 kB / 0.9489 GB, free: 5.891 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 5.217e-05/0.6597, allocations: 35.72 kB / 0.9489 GB, free: 5.891 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.6612, allocations: 0.9857 MB / 0.9499 GB, free: 5.336 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.6613, allocations: 168 kB / 0.9501 GB, free: 5.219 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002339/0.6616, allocations: 251.9 kB / 0.9503 GB, free: 5.059 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.6627, allocations: 0.9373 MB / 0.9512 GB, free: 4.492 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.6628, allocations: 0 / 0.9512 GB, free: 4.492 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6628, allocations: 0 / 0.9512 GB, free: 4.492 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.6628, allocations: 0 / 0.9512 GB, free: 4.492 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001101/0.6639, allocations: 0.8205 MB / 0.952 GB, free: 3.793 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.6639, allocations: 10.81 kB / 0.952 GB, free: 3.793 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.027e-05/0.664, allocations: 75.06 kB / 0.9521 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008518/0.6648, allocations: 158.1 kB / 0.9522 GB, free: 3.652 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005389/0.6654, allocations: 407.4 kB / 0.9526 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.6654, allocations: 27.88 kB / 0.9527 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.363e-05/0.6655, allocations: 41.44 kB / 0.9527 GB, free: 3.273 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006631/0.6661, allocations: 451.6 kB / 0.9531 GB, free: 2.969 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.6661, allocations: 1.906 kB / 0.9531 GB, free: 2.969 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.6662, allocations: 18.67 kB / 0.9532 GB, free: 2.953 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.6662, allocations: 14 kB / 0.9532 GB, free: 2.949 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005488/0.6667, allocations: 317.9 kB / 0.9535 GB, free: 2.809 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002041/0.6688, allocations: 2.02 MB / 0.9554 GB, free: 0.9531 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/0.6691, allocations: 222.5 kB / 0.9557 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.6693, allocations: 136.9 kB / 0.9558 GB, free: 0.7578 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005564/0.6699, allocations: 305.9 kB / 0.9561 GB, free: 460 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.6699, allocations: 34.56 kB / 0.9561 GB, free: 416 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=24): time 1.443e-06/0.6699, allocations: 1.938 kB / 0.9561 GB, free: 416 kB / 0.6856 GB Notification: Performance of matching and sorting (n=24): time 0.000915/0.6709, allocations: 463.2 kB / 0.9566 GB, free: 172 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.6709, allocations: 56.56 kB / 0.9566 GB, free: 108 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003996/0.6713, allocations: 395.6 kB / 0.957 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.6713, allocations: 29.7 kB / 0.957 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.6715, allocations: 232.5 kB / 0.9572 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.894e-05/0.6716, allocations: 91.25 kB / 0.9573 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.405e-05/0.6717, allocations: 53.66 kB / 0.9574 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.6718, allocations: 362.7 kB / 0.9577 GB, free: 15 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.672, allocations: 107.9 kB / 0.9578 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.6723, allocations: 182.8 kB / 0.958 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005088/0.6728, allocations: 301.9 kB / 0.9583 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.6728, allocations: 8 kB / 0.9583 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006314/0.6735, allocations: 361 kB / 0.9586 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.6735, allocations: 4 kB / 0.9586 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.6735, allocations: 7.984 kB / 0.9586 GB, free: 14 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.6735, allocations: 3.938 kB / 0.9587 GB, free: 14 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.6738, allocations: 64.12 kB / 0.9587 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.6738, allocations: 0 / 0.9587 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.674, allocations: 44.59 kB / 0.9588 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.674, allocations: 15.94 kB / 0.9588 GB, free: 13.88 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 31 * 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.0001762/0.6742, allocations: 165.7 kB / 0.9589 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-05/0.6743, allocations: 43.72 kB / 0.959 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007023/0.675, allocations: 369.7 kB / 0.9593 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.675, allocations: 7.938 kB / 0.9593 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.675, allocations: 0 / 0.9593 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.675, allocations: 3.984 kB / 0.9593 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.6764, allocations: 0.9371 MB / 0.9602 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.6764, allocations: 3.938 kB / 0.9603 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.6766, allocations: 47.92 kB / 0.9603 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.6766, allocations: 4 kB / 0.9603 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.6767, allocations: 7.984 kB / 0.9603 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.6767, allocations: 4 kB / 0.9603 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6767, allocations: 224 / 0.9603 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009519/0.6776, allocations: 0.6368 MB / 0.9609 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.6778, allocations: 152.8 kB / 0.9611 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.88e-05/0.6778, allocations: 8 kB / 0.9611 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.678, allocations: 11.92 kB / 0.9611 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.6781, allocations: 19.98 kB / 0.9611 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.6781, allocations: 16.06 kB / 0.9611 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002818/0.6784, allocations: 279.1 kB / 0.9614 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.6784, allocations: 3.938 kB / 0.9614 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004205/0.6788, allocations: 115.8 kB / 0.9615 GB, free: 10.92 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * 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.001467/0.6803, allocations: 1.247 MB / 0.9627 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005786/0.6809, allocations: 275.1 kB / 0.963 GB, free: 9.363 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6809, allocations: 0 / 0.963 GB, free: 9.363 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.6812, allocations: 148.7 kB / 0.9631 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.6822, allocations: 231.2 kB / 0.9634 GB, free: 9 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004851/0.687, allocations: 3.801 MB / 0.9671 GB, free: 5.039 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00046/0.6875, allocations: 0.8233 MB / 0.9679 GB, free: 4.188 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000285/0.6878, allocations: 104.2 kB / 0.968 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.688, allocations: 135.4 kB / 0.9681 GB, free: 3.949 MB / 0.7012 GB Notification: Performance of SimCode: time 7.31e-07/0.688, allocations: 0 / 0.9681 GB, free: 3.949 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03567/0.7237, allocations: 11.78 MB / 0.9796 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8.601, allocations: 3.938 kB / 0.9796 GB, free: 8.387 MB / 0.7169 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.974950072995853]