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.001594/0.001594, allocations: 175.2 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.9136/0.9136, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.662/1.662, allocations: 221.3 MB / 400.4 MB, free: 5.84 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.001087/0.001087, allocations: 107.4 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.799e-05/3.801e-05, allocations: 3.5 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1816, allocations: 82.3 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6239/0.8056, allocations: 113.7 MB / 0.7515 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.8059, allocations: 83.03 kB / 0.7516 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02118/0.8271, allocations: 7.636 MB / 0.7591 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8272, allocations: 4 kB / 0.7591 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.616e-05/0.8272, allocations: 3.812 kB / 0.7591 GB, free: 26.16 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.0009736/0.8282, allocations: 0.5601 MB / 0.7596 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.8282, allocations: 11.69 kB / 0.7596 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.503e-05/0.8283, allocations: 40.72 kB / 0.7597 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002558/0.8286, allocations: 38.48 kB / 0.7597 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004889/0.8291, allocations: 300.2 kB / 0.76 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.8291, allocations: 9.781 kB / 0.76 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.8292, allocations: 14.5 kB / 0.76 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.8294, allocations: 182.2 kB / 0.7602 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.8295, allocations: 0 / 0.7602 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.8295, allocations: 10.25 kB / 0.7602 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.8295, allocations: 3.844 kB / 0.7602 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.8297, allocations: 104.9 kB / 0.7603 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.8309, allocations: 0.9642 MB / 0.7613 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000481/0.8314, allocations: 195.2 kB / 0.7614 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.571e-05/0.8315, allocations: 58.97 kB / 0.7615 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.8316, allocations: 0 / 0.7615 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.8316, allocations: 37.88 kB / 0.7615 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.8316, allocations: 0 / 0.7615 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16): time 0.0003846/0.832, allocations: 156.2 kB / 0.7617 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.832, allocations: 80.98 kB / 0.7618 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.8323, allocations: 233.7 kB / 0.762 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.8323, allocations: 36.55 kB / 0.762 GB, free: 24 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.566e-05/0.8324, allocations: 165.5 kB / 0.7622 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.8324, allocations: 58.33 kB / 0.7622 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.699e-06/0.8324, allocations: 0 / 0.7622 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.8326, allocations: 338.2 kB / 0.7626 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.695e-05/0.8327, allocations: 46.28 kB / 0.7626 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.899e-05/0.8328, allocations: 98.75 kB / 0.7627 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.803e-05/0.8329, allocations: 51.22 kB / 0.7627 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8329, allocations: 3.969 kB / 0.7627 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003383/0.8332, allocations: 194.9 kB / 0.7629 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.8333, allocations: 7.781 kB / 0.7629 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.8333, allocations: 0 / 0.7629 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.8333, allocations: 3.812 kB / 0.7629 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.8336, allocations: 80.66 kB / 0.763 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.8336, allocations: 3.844 kB / 0.763 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.8339, allocations: 49.8 kB / 0.7631 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.8339, allocations: 3.812 kB / 0.7631 GB, free: 23.33 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 9.744e-05/0.834, allocations: 123.5 kB / 0.7632 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.8341, allocations: 27.22 kB / 0.7632 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003383/0.8345, allocations: 197.6 kB / 0.7634 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.8345, allocations: 3.906 kB / 0.7634 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.8345, allocations: 3.938 kB / 0.7634 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.8345, allocations: 0 / 0.7634 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/0.8348, allocations: 299.4 kB / 0.7637 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.8349, allocations: 7.953 kB / 0.7637 GB, free: 22.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/0.8352, allocations: 65.59 kB / 0.7638 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.8352, allocations: 3.875 kB / 0.7638 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.8352, allocations: 0 / 0.7638 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.8352, allocations: 3.938 kB / 0.7638 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.8352, allocations: 0 / 0.7638 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003932/0.8356, allocations: 358.5 kB / 0.7641 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.365e-05/0.8357, allocations: 115.7 kB / 0.7642 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.8357, allocations: 0 / 0.7642 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.836, allocations: 38.22 kB / 0.7643 GB, free: 22.47 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/0.8361, allocations: 19.16 kB / 0.7643 GB, free: 22.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.8361, allocations: 6.594 kB / 0.7643 GB, free: 22.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001709/0.8363, allocations: 189.3 kB / 0.7645 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8363, allocations: 0 / 0.7645 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003546/0.8367, allocations: 57.94 kB / 0.7645 GB, free: 22.37 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.0008249/0.8375, allocations: 0.9796 MB / 0.7655 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000269/0.8378, allocations: 128.6 kB / 0.7656 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.8378, allocations: 7.875 kB / 0.7656 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.8379, allocations: 70.73 kB / 0.7657 GB, free: 21.49 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.8383, allocations: 70.19 kB / 0.7657 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000789/0.8391, allocations: 363.6 kB / 0.7661 GB, free: 21.24 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.8395, allocations: 0.7572 MB / 0.7668 GB, free: 20.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001638/0.8397, allocations: 41.08 kB / 0.7669 GB, free: 20.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.8398, allocations: 83.56 kB / 0.7669 GB, free: 20.46 MB / 0.5105 GB Notification: Performance of SimCode: time 4e-07/0.8398, allocations: 0 / 0.7669 GB, free: 20.46 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.8575, allocations: 5.772 MB / 0.7726 GB, free: 17.74 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/0.8577, allocations: 170.8 kB / 0.7727 GB, free: 17.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.024/2.882, allocations: 1.688 kB / 0.7728 GB, free: 17.5 MB / 0.5105 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)