Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001388, allocations: 174.6 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7547/0.7547, allocations: 133.6 MB / 141.6 MB, free: 2.914 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 221.5 MB / 395.4 MB, free: 10.74 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001055, allocations: 104.4 kB / 478.2 MB, free: 1.27 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.491e-05, allocations: 4 kB / 0.5535 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6296/0.6296, allocations: 82.31 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/0.7853, allocations: 113 MB / 0.7443 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.7856, allocations: 91.92 kB / 0.7444 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02283/0.8084, allocations: 7.592 MB / 0.7518 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8085, allocations: 0 / 0.7518 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.948e-05/0.8085, allocations: 8 kB / 0.7518 GB, free: 1.891 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009922/0.8095, allocations: 0.5487 MB / 0.7524 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.8095, allocations: 16.03 kB / 0.7524 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002315/0.8098, allocations: 35.61 kB / 0.7524 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005181/0.8103, allocations: 294.6 kB / 0.7527 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.8103, allocations: 4 kB / 0.7527 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.8104, allocations: 8 kB / 0.7527 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002211/0.8106, allocations: 96.48 kB / 0.7528 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.8109, allocations: 160.4 kB / 0.7529 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.8109, allocations: 4 kB / 0.7529 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.8109, allocations: 0 / 0.7529 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.8109, allocations: 4 kB / 0.7529 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.8121, allocations: 0.9232 MB / 0.7538 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/0.8127, allocations: 181.3 kB / 0.754 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.8128, allocations: 53.72 kB / 0.7541 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.8128, allocations: 4.297 kB / 0.7541 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.8129, allocations: 46.56 kB / 0.7541 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.8129, allocations: 0 / 0.7541 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.0004313/0.8133, allocations: 145.3 kB / 0.7543 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/0.8134, allocations: 81.11 kB / 0.7543 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.8136, allocations: 214.3 kB / 0.7545 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.8137, allocations: 25.7 kB / 0.7546 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.8138, allocations: 160.2 kB / 0.7547 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.002e-05/0.8139, allocations: 55.19 kB / 0.7548 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.512e-05/0.8139, allocations: 0 / 0.7548 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.8141, allocations: 338.8 kB / 0.7551 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.8142, allocations: 43.94 kB / 0.7551 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.8144, allocations: 88.23 kB / 0.7552 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.8147, allocations: 55.92 kB / 0.7553 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.8147, allocations: 0 / 0.7553 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004108/0.8151, allocations: 181.2 kB / 0.7554 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.8152, allocations: 8 kB / 0.7555 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.8152, allocations: 0 / 0.7555 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.8152, allocations: 4 kB / 0.7555 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.8155, allocations: 72.05 kB / 0.7555 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.8155, allocations: 7.984 kB / 0.7555 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.8158, allocations: 43.81 kB / 0.7556 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.8158, allocations: 12.09 kB / 0.7556 GB, free: 13.75 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.8159, allocations: 108.9 kB / 0.7557 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003433/0.8163, allocations: 153.5 kB / 0.7558 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.655e-05/0.8164, allocations: 23.72 kB / 0.7559 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003966/0.8168, allocations: 175.4 kB / 0.756 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.8168, allocations: 7.984 kB / 0.756 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.8168, allocations: 0 / 0.756 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/0.8168, allocations: 4 kB / 0.756 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003417/0.8172, allocations: 265.8 kB / 0.7563 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.8172, allocations: 0 / 0.7563 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.8175, allocations: 71.91 kB / 0.7564 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.8175, allocations: 4 kB / 0.7564 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.8175, allocations: 0 / 0.7564 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.8175, allocations: 0 / 0.7564 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.8175, allocations: 80 / 0.7564 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004504/0.818, allocations: 345.7 kB / 0.7567 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-05/0.8181, allocations: 108.7 kB / 0.7568 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.8181, allocations: 11.95 kB / 0.7568 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.8184, allocations: 35.95 kB / 0.7568 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.099e-05/0.8185, allocations: 15.98 kB / 0.7569 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.8185, allocations: 7.984 kB / 0.7569 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001591/0.8186, allocations: 170 kB / 0.757 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8186, allocations: 0 / 0.757 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003571/0.819, allocations: 56.19 kB / 0.7571 GB, free: 12.12 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008557/0.8199, allocations: 0.9633 MB / 0.758 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002541/0.8201, allocations: 135.7 kB / 0.7582 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8202, allocations: 0 / 0.7582 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.8203, allocations: 67.94 kB / 0.7582 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.8207, allocations: 61.09 kB / 0.7583 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008136/0.8216, allocations: 345.6 kB / 0.7586 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.822, allocations: 0.7594 MB / 0.7593 GB, free: 9.695 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001492/0.8221, allocations: 26.06 kB / 0.7594 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.8223, allocations: 87.41 kB / 0.7595 GB, free: 9.59 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.8223, allocations: 4 kB / 0.7595 GB, free: 9.586 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0285/0.8508, allocations: 5.234 MB / 0.7646 GB, free: 4.438 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/0.8511, allocations: 136.6 kB / 0.7647 GB, free: 4.25 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.072/2.924, allocations: 4 kB / 0.7647 GB, free: 4.246 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)