Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_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.00115/0.00115, allocations: 173.6 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7718/0.7718, allocations: 133.4 MB / 146.7 MB, free: 10.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.631/1.631, allocations: 221.3 MB / 400.4 MB, free: 5.797 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009759/0.0009762, allocations: 95.09 kB / 483.3 MB, free: 5.824 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.525e-05/3.527e-05, allocations: 3.188 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1743, allocations: 82.31 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6113/0.7857, allocations: 113.7 MB / 0.7515 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.7859, allocations: 83.69 kB / 0.7516 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02029/0.8062, allocations: 7.633 MB / 0.7591 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.664e-06/0.8063, allocations: 0 / 0.7591 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.689e-05/0.8063, allocations: 7.594 kB / 0.7591 GB, free: 26.29 MB / 0.5105 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.0008224/0.8071, allocations: 0.5564 MB / 0.7596 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.8072, allocations: 11.12 kB / 0.7596 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.304e-05/0.8073, allocations: 41.44 kB / 0.7597 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.8075, allocations: 38.3 kB / 0.7597 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004388/0.808, allocations: 301 kB / 0.76 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.808, allocations: 7.812 kB / 0.76 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.808, allocations: 15.41 kB / 0.76 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.8083, allocations: 187 kB / 0.7602 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.8083, allocations: 0 / 0.7602 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.8083, allocations: 3.25 kB / 0.7602 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.8083, allocations: 3.688 kB / 0.7602 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.8085, allocations: 106.7 kB / 0.7603 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.8096, allocations: 0.9619 MB / 0.7612 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004683/0.8101, allocations: 202.2 kB / 0.7614 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.835e-05/0.8102, allocations: 62.2 kB / 0.7615 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.8102, allocations: 3.688 kB / 0.7615 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.8103, allocations: 34.41 kB / 0.7615 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.8103, allocations: 0 / 0.7615 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16): time 0.0003515/0.8106, allocations: 158.9 kB / 0.7617 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.8107, allocations: 77.11 kB / 0.7618 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.8109, allocations: 238.7 kB / 0.762 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.8109, allocations: 25.7 kB / 0.762 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.811, allocations: 163.2 kB / 0.7622 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.8111, allocations: 55.84 kB / 0.7622 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.698e-06/0.8111, allocations: 3.25 kB / 0.7622 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.8112, allocations: 338.6 kB / 0.7625 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.118e-05/0.8113, allocations: 48.22 kB / 0.7626 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.983e-05/0.8114, allocations: 96.64 kB / 0.7627 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.407e-05/0.8115, allocations: 54.19 kB / 0.7627 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8115, allocations: 0 / 0.7627 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000316/0.8118, allocations: 196.3 kB / 0.7629 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.8119, allocations: 3.844 kB / 0.7629 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.8119, allocations: 3.844 kB / 0.7629 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.8119, allocations: 3.984 kB / 0.7629 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.8122, allocations: 77.55 kB / 0.763 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.8122, allocations: 3.844 kB / 0.763 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.8125, allocations: 50.48 kB / 0.7631 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.8125, allocations: 11.69 kB / 0.7631 GB, free: 23.45 MB / 0.5105 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 7.985e-05/0.8126, allocations: 114.9 kB / 0.7632 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.902e-05/0.8127, allocations: 35.16 kB / 0.7632 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003248/0.813, allocations: 194.8 kB / 0.7634 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.813, allocations: 3.969 kB / 0.7634 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.813, allocations: 0 / 0.7634 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.813, allocations: 4 kB / 0.7634 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.8133, allocations: 298.5 kB / 0.7637 GB, free: 23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.8134, allocations: 3.953 kB / 0.7637 GB, free: 23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.8136, allocations: 66.5 kB / 0.7638 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.8136, allocations: 3.844 kB / 0.7638 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.8137, allocations: 0 / 0.7638 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.8137, allocations: 7.844 kB / 0.7638 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.8137, allocations: 0 / 0.7638 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.814, allocations: 356.6 kB / 0.7641 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.315e-05/0.8141, allocations: 112.3 kB / 0.7642 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.8142, allocations: 3.25 kB / 0.7642 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.8144, allocations: 38.03 kB / 0.7643 GB, free: 22.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/0.8145, allocations: 19.41 kB / 0.7643 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.8145, allocations: 3.844 kB / 0.7643 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001417/0.8147, allocations: 187.3 kB / 0.7645 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8147, allocations: 0 / 0.7645 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003031/0.815, allocations: 64.06 kB / 0.7645 GB, free: 22.5 MB / 0.5105 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.0007444/0.8157, allocations: 0.9814 MB / 0.7655 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.816, allocations: 135.2 kB / 0.7656 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.816, allocations: 4.125 kB / 0.7656 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.8161, allocations: 72.16 kB / 0.7657 GB, free: 21.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.8165, allocations: 65.83 kB / 0.7657 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000695/0.8172, allocations: 369.1 kB / 0.7661 GB, free: 21.36 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.8175, allocations: 0.7543 MB / 0.7668 GB, free: 20.63 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001414/0.8177, allocations: 37.58 kB / 0.7669 GB, free: 20.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.8178, allocations: 84.81 kB / 0.7669 GB, free: 20.59 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/0.8178, allocations: 0 / 0.7669 GB, free: 20.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.8348, allocations: 5.77 MB / 0.7726 GB, free: 17.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001328/0.8349, allocations: 162.7 kB / 0.7727 GB, free: 17.63 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.931/2.766, allocations: 0 / 0.7727 GB, free: 17.63 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)