Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7576/0.7576, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001563, allocations: 180.6 kB / 182.2 MB, free: 9.465 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.001018/0.001018, allocations: 107.9 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001742/0.001742, allocations: 277.5 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.392e-05/2.405e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4251, allocations: 82.78 MB / 0.7575 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.992/5.417, allocations: 1.826 GB / 2.583 GB, free: 192 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/5.417, allocations: 83.7 kB / 2.583 GB, free: 192 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8918/6.309, allocations: 207.6 MB / 2.786 GB, free: 205.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.166e-06/6.309, allocations: 0 / 2.786 GB, free: 205.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.887e-05/6.309, allocations: 11.5 kB / 2.786 GB, free: 205.6 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.00145/6.311, allocations: 0.566 MB / 2.787 GB, free: 205.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.353e-05/6.311, allocations: 11.22 kB / 2.787 GB, free: 205.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.875e-05/6.311, allocations: 28.5 kB / 2.787 GB, free: 205.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006258/6.312, allocations: 287.6 kB / 2.787 GB, free: 205 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/6.312, allocations: 3.906 kB / 2.787 GB, free: 205 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.973e-05/6.312, allocations: 11.72 kB / 2.787 GB, free: 205 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002594/6.312, allocations: 96.52 kB / 2.787 GB, free: 205 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/6.312, allocations: 216.8 kB / 2.787 GB, free: 204.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/6.313, allocations: 2.531 kB / 2.787 GB, free: 204.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/6.313, allocations: 8.344 kB / 2.787 GB, free: 204.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/6.313, allocations: 3.688 kB / 2.787 GB, free: 204.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/6.314, allocations: 1.291 MB / 2.788 GB, free: 203.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/6.314, allocations: 153.2 kB / 2.789 GB, free: 203.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.83e-05/6.314, allocations: 77.91 kB / 2.789 GB, free: 203.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002717/6.314, allocations: 111.3 kB / 2.789 GB, free: 203.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/6.314, allocations: 42.19 kB / 2.789 GB, free: 203.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/6.314, allocations: 2.844 kB / 2.789 GB, free: 203.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0005004/6.315, allocations: 138.1 kB / 2.789 GB, free: 203.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/6.315, allocations: 183.2 kB / 2.789 GB, free: 203.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/6.315, allocations: 172.2 kB / 2.789 GB, free: 203.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/6.315, allocations: 28.8 kB / 2.789 GB, free: 203.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.805e-05/6.315, allocations: 155.2 kB / 2.79 GB, free: 203.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/6.315, allocations: 41.88 kB / 2.79 GB, free: 203.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-06/6.315, allocations: 0 / 2.79 GB, free: 203.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.406e-05/6.315, allocations: 330.9 kB / 2.79 GB, free: 202.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.59e-05/6.315, allocations: 25.41 kB / 2.79 GB, free: 202.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.615e-05/6.315, allocations: 102 kB / 2.79 GB, free: 202.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/6.316, allocations: 70.52 kB / 2.79 GB, free: 202.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/6.316, allocations: 1.25 kB / 2.79 GB, free: 202.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002956/6.316, allocations: 153.3 kB / 2.79 GB, free: 202.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/6.316, allocations: 8.906 kB / 2.79 GB, free: 202.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/6.316, allocations: 1.438 kB / 2.79 GB, free: 202.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/6.316, allocations: 7.25 kB / 2.79 GB, free: 202.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/6.316, allocations: 39.67 kB / 2.79 GB, free: 202.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/6.316, allocations: 3.594 kB / 2.79 GB, free: 202.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/6.316, allocations: 21.22 kB / 2.79 GB, free: 202.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/6.316, allocations: 13.08 kB / 2.79 GB, free: 202.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.42e-05/6.316, allocations: 110.8 kB / 2.79 GB, free: 202.5 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003425/6.317, allocations: 142.5 kB / 2.791 GB, free: 202.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/6.317, allocations: 21.7 kB / 2.791 GB, free: 202.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002588/6.317, allocations: 104.9 kB / 2.791 GB, free: 202.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/6.317, allocations: 2.625 kB / 2.791 GB, free: 202.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/6.317, allocations: 5.516 kB / 2.791 GB, free: 202.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/6.317, allocations: 5.188 kB / 2.791 GB, free: 202.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007235/6.318, allocations: 0.7158 MB / 2.791 GB, free: 201.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/6.318, allocations: 5.031 kB / 2.791 GB, free: 201.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/6.318, allocations: 29.45 kB / 2.791 GB, free: 201.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/6.318, allocations: 8.141 kB / 2.791 GB, free: 201.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/6.318, allocations: 2.281 kB / 2.791 GB, free: 201.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/6.318, allocations: 6.062 kB / 2.791 GB, free: 201.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/6.318, allocations: 1.188 kB / 2.791 GB, free: 201.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004502/6.319, allocations: 350.3 kB / 2.792 GB, free: 201.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.074e-05/6.319, allocations: 105.8 kB / 2.792 GB, free: 201.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/6.319, allocations: 9.094 kB / 2.792 GB, free: 201.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/6.319, allocations: 11.22 kB / 2.792 GB, free: 201.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/6.319, allocations: 15.16 kB / 2.792 GB, free: 201.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/6.319, allocations: 4.688 kB / 2.792 GB, free: 201.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001099/6.319, allocations: 139.8 kB / 2.792 GB, free: 201.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.319, allocations: 3.719 kB / 2.792 GB, free: 201.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007196/6.32, allocations: 123.9 kB / 2.792 GB, free: 201.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.002491/6.322, allocations: 2.247 MB / 2.794 GB, free: 200.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002463/6.323, allocations: 83.72 kB / 2.794 GB, free: 200.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/6.323, allocations: 3.906 kB / 2.794 GB, free: 200.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/6.323, allocations: 38.75 kB / 2.794 GB, free: 200.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/6.323, allocations: 70.77 kB / 2.795 GB, free: 200.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/6.324, allocations: 412.7 kB / 2.795 GB, free: 199.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/6.324, allocations: 0.764 MB / 2.796 GB, free: 199.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001128/6.325, allocations: 36.25 kB / 2.796 GB, free: 199.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.845e-05/6.325, allocations: 66.09 kB / 2.796 GB, free: 199.2 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/6.325, allocations: 0 / 2.796 GB, free: 199.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03506/6.36, allocations: 12 MB / 2.807 GB, free: 199 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/6.36, allocations: 176.5 kB / 2.808 GB, free: 198.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.315/8.675, allocations: 0 / 2.808 GB, free: 198.9 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)