Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_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.001079/0.001079, allocations: 174.7 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.8592/0.8592, 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.61/1.61, allocations: 221.3 MB / 400.4 MB, free: 5.867 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.0009016/0.0009016, allocations: 94.27 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.407e-05/4.42e-05, allocations: 4.156 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1656, allocations: 82.32 MB / 0.6405 GB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6364/0.802, allocations: 113.2 MB / 0.7511 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/0.8024, allocations: 81.91 kB / 0.7511 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01956/0.822, allocations: 5.333 MB / 0.7563 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.304e-06/0.822, allocations: 0 / 0.7563 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.078e-05/0.8221, allocations: 0 / 0.7563 GB, free: 27.09 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.0006408/0.8227, allocations: 404.7 kB / 0.7567 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/0.8228, allocations: 7.719 kB / 0.7567 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.132e-05/0.8228, allocations: 34.53 kB / 0.7568 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.823, allocations: 11.64 kB / 0.7568 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.8233, allocations: 193.7 kB / 0.757 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.8234, allocations: 5.094 kB / 0.757 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.8234, allocations: 5.484 kB / 0.757 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.8236, allocations: 56.28 kB / 0.757 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.8236, allocations: 0 / 0.757 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.8236, allocations: 4.844 kB / 0.757 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.8236, allocations: 0 / 0.757 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.8237, allocations: 27.75 kB / 0.7571 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006466/0.8244, allocations: 304.8 kB / 0.7573 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.8246, allocations: 44.59 kB / 0.7574 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.009e-05/0.8246, allocations: 21.23 kB / 0.7574 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.8247, allocations: 4.5 kB / 0.7574 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.8247, allocations: 42.5 kB / 0.7575 GB, free: 26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 1.934e-06/0.8247, allocations: 0 / 0.7575 GB, free: 26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.0002835/0.825, allocations: 67.38 kB / 0.7575 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.8251, allocations: 55.36 kB / 0.7576 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.8252, allocations: 118 kB / 0.7577 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.8252, allocations: 25.7 kB / 0.7577 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.044e-05/0.8253, allocations: 98.78 kB / 0.7578 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.8254, allocations: 23.28 kB / 0.7578 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/0.8254, allocations: 0 / 0.7578 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.8255, allocations: 318.3 kB / 0.7581 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.841e-05/0.8256, allocations: 11.22 kB / 0.7581 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.127e-05/0.8257, allocations: 22.75 kB / 0.7582 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.146e-05/0.8257, allocations: 11.31 kB / 0.7582 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.8257, allocations: 0 / 0.7582 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002048/0.8259, allocations: 85.67 kB / 0.7583 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.826, allocations: 3.969 kB / 0.7583 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.826, allocations: 0 / 0.7583 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.826, allocations: 4 kB / 0.7583 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.8262, allocations: 15.61 kB / 0.7583 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.8262, allocations: 3.844 kB / 0.7583 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.262e-05/0.8263, allocations: 7.797 kB / 0.7583 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.8263, allocations: 0 / 0.7583 GB, free: 25.28 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.744e-05/0.8264, allocations: 108.8 kB / 0.7584 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.96e-05/0.8265, allocations: 11.73 kB / 0.7584 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.8267, allocations: 82.83 kB / 0.7585 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.8267, allocations: 0 / 0.7585 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.8267, allocations: 0 / 0.7585 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.8267, allocations: 0 / 0.7585 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.827, allocations: 195 kB / 0.7587 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.827, allocations: 0 / 0.7587 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.8271, allocations: 15.98 kB / 0.7587 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.8271, allocations: 0 / 0.7587 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.8272, allocations: 7.844 kB / 0.7587 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.8272, allocations: 4 kB / 0.7587 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8272, allocations: 0 / 0.7587 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.8274, allocations: 176.9 kB / 0.7589 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.8275, allocations: 81.02 kB / 0.7589 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.8275, allocations: 3.844 kB / 0.7589 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.8277, allocations: 6.469 kB / 0.7589 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.8277, allocations: 7.828 kB / 0.759 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.8278, allocations: 4 kB / 0.759 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.174e-05/0.8279, allocations: 104.5 kB / 0.7591 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/0.8279, allocations: 0 / 0.7591 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003691/0.8282, allocations: 23.19 kB / 0.7591 GB, free: 24.55 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.000699/0.829, allocations: 0.7172 MB / 0.7598 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001541/0.8291, allocations: 40.12 kB / 0.7598 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.8291, allocations: 0 / 0.7598 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.718e-05/0.8292, allocations: 30.3 kB / 0.7598 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.8295, allocations: 7.719 kB / 0.7599 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005508/0.8301, allocations: 142.6 kB / 0.76 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.8304, allocations: 0.6921 MB / 0.7607 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.145e-05/0.8305, allocations: 8.016 kB / 0.7607 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.853e-05/0.8306, allocations: 25.89 kB / 0.7607 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of SimCode: time 3e-07/0.8306, allocations: 0 / 0.7607 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.848, allocations: 1.97 MB / 0.7626 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/0.8482, allocations: 168.3 kB / 0.7628 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/2.412, allocations: 0 / 0.7628 GB, free: 21.87 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)