Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001374/0.001374, allocations: 112.1 kB / 17.54 MB, free: 4.734 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.001397/0.001397, allocations: 186.7 kB / 20.71 MB, free: 1.582 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.294/1.294, allocations: 225.6 MB / 249.3 MB, free: 3.152 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.9903/0.9903, allocations: 175.7 MB / 480.1 MB, free: 2.785 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.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 73.11 kB / 0.6678 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1519, allocations: 94.53 MB / 0.7601 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4922/0.6441, allocations: 168.3 MB / 0.9244 GB, free: 9.449 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.007376/0.6514, allocations: 6.646 MB / 0.9309 GB, free: 4.09 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003558/0.6518, allocations: 11.31 kB / 0.9309 GB, free: 4.086 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004949/0.6523, allocations: 171.1 kB / 0.9311 GB, free: 3.938 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001858/0.6541, allocations: 0.871 MB / 0.9319 GB, free: 3.281 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008174/0.655, allocations: 332.3 kB / 0.9323 GB, free: 3.039 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0007259/0.6557, allocations: 0.7178 MB / 0.933 GB, free: 2.625 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003726/0.6561, allocations: 213.5 kB / 0.9332 GB, free: 2.48 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.6574, allocations: 0.7213 MB / 0.9339 GB, free: 2.02 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003985/0.6578, allocations: 270.6 kB / 0.9341 GB, free: 1.863 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.6579, allocations: 26.75 kB / 0.9341 GB, free: 1.859 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005788/0.6584, allocations: 349.8 kB / 0.9345 GB, free: 1.676 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.6586, allocations: 117 kB / 0.9346 GB, free: 1.594 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.6587, allocations: 161.9 kB / 0.9347 GB, free: 1.492 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0005875/0.6593, allocations: 468.3 kB / 0.9352 GB, free: 1.203 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.6593, allocations: 0 / 0.9352 GB, free: 1.203 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6593, allocations: 2.156 kB / 0.9352 GB, free: 1.203 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.6593, allocations: 0 / 0.9352 GB, free: 1.203 MB / 0.67 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.0008275/0.6601, allocations: 0.6315 MB / 0.9358 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.6602, allocations: 14.44 kB / 0.9358 GB, free: 0.625 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.108e-05/0.6602, allocations: 58.2 kB / 0.9359 GB, free: 0.5664 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002692/0.6605, allocations: 64.11 kB / 0.9359 GB, free: 0.5352 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.6609, allocations: 323.6 kB / 0.9362 GB, free: 240 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.661, allocations: 21.09 kB / 0.9363 GB, free: 232 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.661, allocations: 22.81 kB / 0.9363 GB, free: 224 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/0.6615, allocations: 321.7 kB / 0.9366 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.6615, allocations: 0 / 0.9366 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.6615, allocations: 10.03 kB / 0.9366 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.6615, allocations: 11.75 kB / 0.9366 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003767/0.6619, allocations: 204.3 kB / 0.9368 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.6634, allocations: 1.542 MB / 0.9383 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.6637, allocations: 105.6 kB / 0.9384 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.6638, allocations: 88.73 kB / 0.9385 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005565/0.6644, allocations: 305.8 kB / 0.9388 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.6644, allocations: 33.12 kB / 0.9388 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.6644, allocations: 3.938 kB / 0.9388 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0006769/0.6651, allocations: 269.6 kB / 0.9391 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.6651, allocations: 62.23 kB / 0.9391 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.6654, allocations: 304.4 kB / 0.9394 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.6655, allocations: 31.52 kB / 0.9395 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.6656, allocations: 182.7 kB / 0.9396 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.6656, allocations: 48.52 kB / 0.9397 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.567e-05/0.6657, allocations: 34.14 kB / 0.9397 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.6659, allocations: 342.6 kB / 0.94 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.666, allocations: 70.3 kB / 0.9401 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.6662, allocations: 109.7 kB / 0.9402 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.6665, allocations: 180 kB / 0.9404 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6665, allocations: 0 / 0.9404 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003901/0.6669, allocations: 216.1 kB / 0.9406 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.6669, allocations: 9.188 kB / 0.9406 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6669, allocations: 2.469 kB / 0.9406 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.6669, allocations: 2.562 kB / 0.9406 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.6671, allocations: 37.25 kB / 0.9406 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.6671, allocations: 7 kB / 0.9407 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.6673, allocations: 34.3 kB / 0.9407 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.6673, allocations: 7.5 kB / 0.9407 GB, free: 12.55 MB / 0.6856 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.000142/0.6674, allocations: 149.4 kB / 0.9408 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.6675, allocations: 30.91 kB / 0.9409 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003979/0.6679, allocations: 212.5 kB / 0.9411 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.6679, allocations: 3.062 kB / 0.9411 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.6679, allocations: 0 / 0.9411 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.6679, allocations: 0 / 0.9411 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009358/0.6688, allocations: 0.6807 MB / 0.9417 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.6688, allocations: 2.031 kB / 0.9417 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.6689, allocations: 30.95 kB / 0.9418 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.6689, allocations: 10.97 kB / 0.9418 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.6689, allocations: 6.719 kB / 0.9418 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.669, allocations: 2.125 kB / 0.9418 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.669, allocations: 2.938 kB / 0.9418 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004113/0.6694, allocations: 333.9 kB / 0.9421 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.6695, allocations: 120.1 kB / 0.9422 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.6695, allocations: 10.36 kB / 0.9422 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.6697, allocations: 8.938 kB / 0.9422 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.6697, allocations: 15.73 kB / 0.9423 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.6697, allocations: 9.281 kB / 0.9423 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001885/0.6699, allocations: 224.6 kB / 0.9425 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.6699, allocations: 0 / 0.9425 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003305/0.6702, allocations: 82.22 kB / 0.9426 GB, free: 11.07 MB / 0.6856 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.0009582/0.6712, allocations: 0.927 MB / 0.9435 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003606/0.6716, allocations: 163.7 kB / 0.9436 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.6716, allocations: 0 / 0.9436 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.6717, allocations: 72.83 kB / 0.9437 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007478/0.6725, allocations: 151.3 kB / 0.9438 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/0.6756, allocations: 2.812 MB / 0.9466 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.676, allocations: 0.7828 MB / 0.9473 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001692/0.6762, allocations: 70.84 kB / 0.9474 GB, free: 7.125 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.6763, allocations: 90.66 kB / 0.9475 GB, free: 7.051 MB / 0.6856 GB Notification: Performance of SimCode: time 3.91e-07/0.6763, allocations: 0 / 0.9475 GB, free: 7.051 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03261/0.7089, allocations: 8.15 MB / 0.9555 GB, free: 1.281 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.637/8.346, allocations: 13.48 kB / 0.9555 GB, free: 1.273 MB / 0.6856 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.760551062994637]