Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.8961/0.8961, allocations: 141.8 MB / 149.3 MB, free: 9.184 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.001505/0.001505, allocations: 188.8 kB / 182.2 MB, free: 9.418 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.594/1.594, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.0009552/0.0009551, allocations: 85.75 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001857/0.001857, allocations: 275.7 kB / 0.5889 GB, free: 54.62 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.457e-05/2.479e-05, allocations: 4 kB / 0.6766 GB, free: 12.69 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.474/0.474, allocations: 82.77 MB / 0.7575 GB, free: 31.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.092/5.566, allocations: 1.873 GB / 2.63 GB, free: 146.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/5.566, allocations: 87.95 kB / 2.63 GB, free: 146.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.778/7.344, allocations: 437.4 MB / 3.057 GB, free: 151.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/7.344, allocations: 0 / 3.057 GB, free: 151.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.316e-05/7.344, allocations: 14.69 kB / 3.057 GB, free: 151.1 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001964/7.346, allocations: 0.8391 MB / 3.058 GB, free: 150.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/7.346, allocations: 12.91 kB / 3.058 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/7.347, allocations: 152.8 kB / 3.058 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/7.348, allocations: 0.6792 MB / 3.059 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/7.348, allocations: 14.3 kB / 3.059 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.168e-05/7.348, allocations: 26.78 kB / 3.059 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005013/7.349, allocations: 249 kB / 3.059 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006001/7.35, allocations: 363.3 kB / 3.06 GB, free: 150.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/7.35, allocations: 3 kB / 3.06 GB, free: 150.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/7.35, allocations: 0 / 3.06 GB, free: 150.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/7.35, allocations: 14.97 kB / 3.06 GB, free: 150.4 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001956/7.352, allocations: 1.893 MB / 3.061 GB, free: 149.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/7.352, allocations: 200.7 kB / 3.062 GB, free: 149.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/7.352, allocations: 116.7 kB / 3.062 GB, free: 149.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004997/7.353, allocations: 305.8 kB / 3.062 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/7.353, allocations: 33.78 kB / 3.062 GB, free: 148.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=24): time 1.333e-06/7.353, allocations: 0 / 3.062 GB, free: 148.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.0009268/7.354, allocations: 376 kB / 3.062 GB, free: 148.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/7.354, allocations: 55.38 kB / 3.062 GB, free: 148.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/7.354, allocations: 226.1 kB / 3.063 GB, free: 148.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/7.354, allocations: 25.7 kB / 3.063 GB, free: 148.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/7.354, allocations: 243.8 kB / 3.063 GB, free: 148.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/7.354, allocations: 86.56 kB / 3.063 GB, free: 148.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.261e-05/7.354, allocations: 0 / 3.063 GB, free: 148.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001/7.354, allocations: 338 kB / 3.063 GB, free: 148 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/7.354, allocations: 82.27 kB / 3.063 GB, free: 148 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/7.355, allocations: 167.9 kB / 3.064 GB, free: 147.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004394/7.355, allocations: 210.8 kB / 3.064 GB, free: 147.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/7.355, allocations: 0 / 3.064 GB, free: 147.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006551/7.356, allocations: 389.3 kB / 3.064 GB, free: 147.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/7.356, allocations: 7.688 kB / 3.064 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/7.356, allocations: 3.625 kB / 3.064 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/7.356, allocations: 3.406 kB / 3.064 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/7.356, allocations: 60.52 kB / 3.064 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/7.356, allocations: 9.672 kB / 3.064 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002552/7.356, allocations: 39.8 kB / 3.064 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/7.356, allocations: 14.25 kB / 3.064 GB, free: 147.9 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 (31): * Single equations (assignments): 31 * 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.151e-05/7.356, allocations: 113 kB / 3.064 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008115/7.357, allocations: 357.3 kB / 3.065 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.241e-05/7.357, allocations: 30.25 kB / 3.065 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009355/7.358, allocations: 392.2 kB / 3.065 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/7.358, allocations: 6.281 kB / 3.065 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/7.358, allocations: 0.5 kB / 3.065 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/7.358, allocations: 7.125 kB / 3.065 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/7.36, allocations: 0.9103 MB / 3.066 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/7.36, allocations: 0 / 3.066 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/7.36, allocations: 50.27 kB / 3.066 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/7.36, allocations: 3.875 kB / 3.066 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/7.36, allocations: 7.734 kB / 3.066 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/7.36, allocations: 4.422 kB / 3.066 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/7.36, allocations: 7.688 kB / 3.066 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009464/7.361, allocations: 0.7005 MB / 3.067 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/7.361, allocations: 134.9 kB / 3.067 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.741e-05/7.361, allocations: 11.3 kB / 3.067 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/7.362, allocations: 26.34 kB / 3.067 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/7.362, allocations: 20.27 kB / 3.067 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/7.362, allocations: 8.625 kB / 3.067 GB, free: 146.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001647/7.362, allocations: 179.9 kB / 3.067 GB, free: 146.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/7.362, allocations: 1 kB / 3.067 GB, free: 146.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009868/7.363, allocations: 213.9 kB / 3.067 GB, free: 146.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.004099/7.367, allocations: 3.341 MB / 3.071 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003904/7.367, allocations: 225.1 kB / 3.071 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/7.367, allocations: 6.875 kB / 3.071 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/7.368, allocations: 120.7 kB / 3.071 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006847/7.368, allocations: 109 kB / 3.071 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/7.37, allocations: 0.6618 MB / 3.072 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/7.37, allocations: 0.8371 MB / 3.073 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000265/7.37, allocations: 81.36 kB / 3.073 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/7.37, allocations: 137.3 kB / 3.073 GB, free: 144.2 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/7.37, allocations: 0 / 3.073 GB, free: 144.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04433/7.415, allocations: 19.74 MB / 3.092 GB, free: 143.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/7.415, allocations: 182 kB / 3.092 GB, free: 143.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.877/10.29, allocations: 0 / 3.092 GB, free: 143.7 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)