Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.001145/0.001145, allocations: 173.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7499/0.7499, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.582/1.582, allocations: 221.3 MB / 400.4 MB, free: 5.852 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.0009179/0.0009178, allocations: 91.39 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.339e-05/4.341e-05, allocations: 4.125 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1802, allocations: 82.31 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5817/0.7619, allocations: 113.2 MB / 0.7511 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003539/0.7624, allocations: 83.86 kB / 0.7511 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01471/0.7771, allocations: 5.334 MB / 0.7563 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7771, allocations: 0 / 0.7563 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.7771, allocations: 0 / 0.7563 GB, free: 26.78 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004233/0.7776, allocations: 407.1 kB / 0.7567 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.7776, allocations: 7.688 kB / 0.7567 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.584e-05/0.7777, allocations: 33.75 kB / 0.7568 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.7778, allocations: 11.28 kB / 0.7568 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.778, allocations: 197.9 kB / 0.757 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.778, allocations: 3.844 kB / 0.757 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.7781, allocations: 0 / 0.757 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.7782, allocations: 55.23 kB / 0.757 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.7782, allocations: 4 kB / 0.757 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.7782, allocations: 3.984 kB / 0.757 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.7782, allocations: 3.812 kB / 0.757 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.009e-05/0.7783, allocations: 22.81 kB / 0.7571 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/0.7788, allocations: 301.7 kB / 0.7573 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.541e-05/0.7789, allocations: 51.47 kB / 0.7574 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.049e-05/0.779, allocations: 18.61 kB / 0.7574 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.779, allocations: 3.75 kB / 0.7574 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.779, allocations: 38.44 kB / 0.7575 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.779, allocations: 0 / 0.7575 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.0002078/0.7792, allocations: 69.47 kB / 0.7575 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.7793, allocations: 55.36 kB / 0.7576 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.7794, allocations: 123.5 kB / 0.7577 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.7794, allocations: 25.7 kB / 0.7577 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.7795, allocations: 98.09 kB / 0.7578 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.7795, allocations: 18.34 kB / 0.7578 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-06/0.7795, allocations: 0 / 0.7578 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.7797, allocations: 321.9 kB / 0.7581 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.478e-05/0.7797, allocations: 17.94 kB / 0.7581 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.616e-05/0.7798, allocations: 11.06 kB / 0.7582 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.706e-05/0.7798, allocations: 18.56 kB / 0.7582 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.7798, allocations: 0 / 0.7582 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001244/0.7799, allocations: 74.56 kB / 0.7582 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.78, allocations: 9.078 kB / 0.7583 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.78, allocations: 4 kB / 0.7583 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.78, allocations: 3.844 kB / 0.7583 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.7801, allocations: 18.92 kB / 0.7583 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.7801, allocations: 0.7031 kB / 0.7583 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.808e-05/0.7802, allocations: 7.797 kB / 0.7583 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.7802, allocations: 7.875 kB / 0.7583 GB, free: 24.97 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 9.015e-05/0.7803, allocations: 102.9 kB / 0.7584 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.7804, allocations: 7.75 kB / 0.7584 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/0.7805, allocations: 85.47 kB / 0.7585 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.7806, allocations: 3.844 kB / 0.7585 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.7806, allocations: 0 / 0.7585 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.7806, allocations: 0 / 0.7585 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.7807, allocations: 185.7 kB / 0.7587 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7808, allocations: 7.781 kB / 0.7587 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.038e-05/0.7808, allocations: 15.48 kB / 0.7587 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.7809, allocations: 0 / 0.7587 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.7809, allocations: 3.812 kB / 0.7587 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.7809, allocations: 0 / 0.7587 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7809, allocations: 0 / 0.7587 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.7811, allocations: 173.2 kB / 0.7589 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.7811, allocations: 88.86 kB / 0.7589 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.7811, allocations: 3.812 kB / 0.7589 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.527e-05/0.7812, allocations: 7.625 kB / 0.759 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.7813, allocations: 3.984 kB / 0.759 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.7813, allocations: 8 kB / 0.759 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.783e-05/0.7814, allocations: 98.77 kB / 0.7591 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7814, allocations: 3.938 kB / 0.7591 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002142/0.7816, allocations: 22.91 kB / 0.7591 GB, free: 24.24 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0005374/0.7821, allocations: 0.7245 MB / 0.7598 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.7822, allocations: 36.16 kB / 0.7598 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7823, allocations: 3.938 kB / 0.7598 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.998e-05/0.7823, allocations: 26.72 kB / 0.7599 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.7825, allocations: 11.95 kB / 0.7599 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.7829, allocations: 139.5 kB / 0.76 GB, free: 23.42 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.7832, allocations: 0.6923 MB / 0.7607 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.975e-05/0.7833, allocations: 8.016 kB / 0.7607 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.7833, allocations: 22.27 kB / 0.7607 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of SimCode: time 3.4e-07/0.7833, allocations: 4 kB / 0.7607 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01237/0.7957, allocations: 1.96 MB / 0.7626 GB, free: 21.79 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/0.7959, allocations: 166.3 kB / 0.7628 GB, free: 21.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.471/2.267, allocations: 0 / 0.7628 GB, free: 21.56 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)