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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008026/0.0008027, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004173/0.004173, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.2 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00173/0.00173, allocations: 274 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9777/0.9777, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004183/0.0004182, allocations: 12.38 kB / 0.5988 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1549, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4625/0.6174, allocations: 174.8 MB / 0.856 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008521/0.626, allocations: 7.753 MB / 0.8635 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000547/0.6266, allocations: 19.59 kB / 0.8636 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006053/0.6272, allocations: 183.8 kB / 0.8637 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002699/0.6299, allocations: 1.141 MB / 0.8648 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.6316, allocations: 0.6772 MB / 0.8655 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001473/0.6331, allocations: 1.531 MB / 0.867 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004874/0.6336, allocations: 341.3 kB / 0.8673 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002295/0.6359, allocations: 0.7469 MB / 0.8681 GB, free: 420 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005469/0.6364, allocations: 443.2 kB / 0.8685 GB, free: 176 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.405e-05/0.6365, allocations: 25.31 kB / 0.8685 GB, free: 172 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.6382, allocations: 1.085 MB / 0.8696 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.6383, allocations: 145.3 kB / 0.8697 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002348/0.6386, allocations: 256.2 kB / 0.8699 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.6397, allocations: 0.9657 MB / 0.8709 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.6397, allocations: 0 / 0.8709 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6397, allocations: 0 / 0.8709 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.6397, allocations: 0 / 0.8709 GB, free: 14.68 MB / 0.5919 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.0009827/0.6407, allocations: 0.7257 MB / 0.8716 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.6408, allocations: 10.62 kB / 0.8716 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.356e-05/0.6409, allocations: 84.59 kB / 0.8717 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009004/0.6418, allocations: 156.5 kB / 0.8718 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004751/0.6422, allocations: 370.6 kB / 0.8722 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.6423, allocations: 29.56 kB / 0.8722 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.6423, allocations: 36.66 kB / 0.8723 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006907/0.6431, allocations: 457.2 kB / 0.8727 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.6431, allocations: 15.16 kB / 0.8727 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/0.6431, allocations: 18.66 kB / 0.8727 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.6431, allocations: 10.56 kB / 0.8727 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005843/0.6437, allocations: 329.8 kB / 0.873 GB, free: 13.08 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.001952/0.6457, allocations: 2.022 MB / 0.875 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.6461, allocations: 234.1 kB / 0.8752 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.6463, allocations: 156.9 kB / 0.8754 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005827/0.6469, allocations: 331.3 kB / 0.8757 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.647, allocations: 30.56 kB / 0.8757 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.463e-06/0.647, allocations: 0 / 0.8757 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.0009928/0.648, allocations: 477 kB / 0.8762 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.648, allocations: 54.12 kB / 0.8762 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.6484, allocations: 390.9 kB / 0.8766 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.6484, allocations: 29.7 kB / 0.8766 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.6486, allocations: 237.1 kB / 0.8769 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.292e-05/0.6487, allocations: 78.02 kB / 0.8769 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.6487, allocations: 29.67 kB / 0.877 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.6488, allocations: 351.2 kB / 0.8773 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.6491, allocations: 112.3 kB / 0.8774 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.6494, allocations: 202.6 kB / 0.8776 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004921/0.6499, allocations: 316.8 kB / 0.8779 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.6499, allocations: 2.656 kB / 0.8779 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006191/0.6505, allocations: 377.7 kB / 0.8783 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.6505, allocations: 10.94 kB / 0.8783 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.6505, allocations: 2.906 kB / 0.8783 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.6506, allocations: 6.938 kB / 0.8783 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.6508, allocations: 65.31 kB / 0.8784 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.6508, allocations: 6.734 kB / 0.8784 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.6511, allocations: 57.75 kB / 0.8784 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.6512, allocations: 11.88 kB / 0.8784 GB, free: 8.801 MB / 0.5919 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001628/0.6513, allocations: 163.8 kB / 0.8786 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.759e-05/0.6514, allocations: 39.34 kB / 0.8786 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006994/0.6521, allocations: 387.8 kB / 0.879 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.6521, allocations: 2.906 kB / 0.879 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6521, allocations: 0 / 0.879 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.6522, allocations: 3.984 kB / 0.879 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.6535, allocations: 0.95 MB / 0.8799 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.6535, allocations: 4.219 kB / 0.8799 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.6537, allocations: 46.8 kB / 0.88 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.6537, allocations: 10.69 kB / 0.88 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.6538, allocations: 12.86 kB / 0.88 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.6538, allocations: 2.875 kB / 0.88 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.6538, allocations: 6.656 kB / 0.88 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009145/0.6547, allocations: 0.6384 MB / 0.8806 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.6549, allocations: 148.5 kB / 0.8808 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.188e-05/0.6549, allocations: 8 kB / 0.8808 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.6552, allocations: 32.03 kB / 0.8808 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.6553, allocations: 19.92 kB / 0.8808 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.6553, allocations: 8 kB / 0.8808 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002699/0.6555, allocations: 283.1 kB / 0.8811 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6556, allocations: 0 / 0.8811 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004478/0.656, allocations: 119.7 kB / 0.8812 GB, free: 6.516 MB / 0.5919 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001422/0.6574, allocations: 1.261 MB / 0.8825 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000582/0.658, allocations: 296.1 kB / 0.8827 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.658, allocations: 0 / 0.8827 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002721/0.6583, allocations: 155.7 kB / 0.8829 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.6595, allocations: 214.7 kB / 0.8831 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005039/0.6646, allocations: 4.031 MB / 0.887 GB, free: 392 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005117/0.6651, allocations: 0.8236 MB / 0.8878 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003568/0.6655, allocations: 99.39 kB / 0.8879 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.6657, allocations: 139.4 kB / 0.8881 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of SimCode: time 6.81e-07/0.6657, allocations: 0 / 0.8881 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3922/1.058, allocations: 10.95 MB / 0.8988 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/1.058, allocations: 264.2 kB / 0.899 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.836/3.894, allocations: 0 / 0.899 GB, free: 4.312 MB / 0.6075 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/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)