Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0007902/0.0007902, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008456/0.0008456, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.001/1.001, allocations: 143.4 MB / 434.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003102, allocations: 8 kB / 0.5161 GB, free: 11.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1635, allocations: 83.41 MB / 0.5975 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4617/0.6252, allocations: 163.2 MB / 0.7569 GB, free: 9 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008503/0.6337, allocations: 7.283 MB / 0.764 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005461/0.6343, allocations: 15.88 kB / 0.764 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006367/0.635, allocations: 166.8 kB / 0.7642 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.6373, allocations: 0.8864 MB / 0.765 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.6386, allocations: 0.5371 MB / 0.7656 GB, free: 96 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001305/0.64, allocations: 1.298 MB / 0.7668 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005043/0.6405, allocations: 312.7 kB / 0.7671 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.6419, allocations: 0.6854 MB / 0.7678 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005925/0.6425, allocations: 422.5 kB / 0.7682 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.496e-05/0.6426, allocations: 24 kB / 0.7682 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.6436, allocations: 0.5301 MB / 0.7687 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.6438, allocations: 139.6 kB / 0.7689 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.6439, allocations: 113.5 kB / 0.769 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006798/0.6446, allocations: 0.6001 MB / 0.7696 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6446, allocations: 4 kB / 0.7696 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6446, allocations: 0 / 0.7696 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.6446, allocations: 0 / 0.7696 GB, free: 11.97 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.0009757/0.6456, allocations: 0.7286 MB / 0.7703 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.6457, allocations: 8.031 kB / 0.7703 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.337e-05/0.6458, allocations: 82.53 kB / 0.7704 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008554/0.6466, allocations: 147.8 kB / 0.7705 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004882/0.6471, allocations: 371.7 kB / 0.7709 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.6472, allocations: 29 kB / 0.7709 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.556e-05/0.6472, allocations: 40 kB / 0.7709 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006701/0.6479, allocations: 454.4 kB / 0.7714 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.6479, allocations: 0 / 0.7714 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/0.648, allocations: 16 kB / 0.7714 GB, free: 10 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.648, allocations: 9.188 kB / 0.7714 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005566/0.6485, allocations: 327.7 kB / 0.7717 GB, free: 9.672 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.002175/0.6507, allocations: 2.031 MB / 0.7737 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.6512, allocations: 243.5 kB / 0.7739 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.6515, allocations: 148.8 kB / 0.7741 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006421/0.6521, allocations: 319.2 kB / 0.7744 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.6522, allocations: 34.56 kB / 0.7744 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.462e-06/0.6522, allocations: 4 kB / 0.7744 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001034/0.6532, allocations: 476.6 kB / 0.7749 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.6533, allocations: 51.41 kB / 0.7749 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004273/0.6537, allocations: 401.8 kB / 0.7753 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.6537, allocations: 29.7 kB / 0.7753 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.6539, allocations: 228.3 kB / 0.7755 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.572e-05/0.654, allocations: 86.73 kB / 0.7756 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.45e-05/0.654, allocations: 4 kB / 0.7756 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.6541, allocations: 350.8 kB / 0.776 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.6544, allocations: 119.9 kB / 0.7761 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.6546, allocations: 186.7 kB / 0.7762 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.6549, allocations: 133.6 kB / 0.7764 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6549, allocations: 4 kB / 0.7764 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006053/0.6555, allocations: 378.6 kB / 0.7767 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.6555, allocations: 5.094 kB / 0.7767 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.6555, allocations: 4 kB / 0.7767 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.6556, allocations: 9.031 kB / 0.7768 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.6558, allocations: 55.91 kB / 0.7768 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.6558, allocations: 4 kB / 0.7768 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.6561, allocations: 55.56 kB / 0.7769 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.6562, allocations: 15.95 kB / 0.7769 GB, free: 4.047 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001763/0.6563, allocations: 169.7 kB / 0.777 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.26e-05/0.6564, allocations: 39.53 kB / 0.7771 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006904/0.6571, allocations: 381.7 kB / 0.7774 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.6571, allocations: 0 / 0.7774 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.6571, allocations: 3.938 kB / 0.7774 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.6571, allocations: 3.984 kB / 0.7775 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.6585, allocations: 0.9487 MB / 0.7784 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.6585, allocations: 0 / 0.7784 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.6588, allocations: 56.12 kB / 0.7784 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.6588, allocations: 8 kB / 0.7784 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.6588, allocations: 11.95 kB / 0.7785 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-06/0.6588, allocations: 4 kB / 0.7785 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6589, allocations: 0 / 0.7785 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009151/0.6598, allocations: 0.6479 MB / 0.7791 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.6599, allocations: 144.6 kB / 0.7792 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.641e-05/0.66, allocations: 11.95 kB / 0.7792 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.6602, allocations: 27.97 kB / 0.7793 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.6603, allocations: 16.05 kB / 0.7793 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.6603, allocations: 12 kB / 0.7793 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002599/0.6606, allocations: 279.1 kB / 0.7796 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6606, allocations: 0 / 0.7796 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004299/0.661, allocations: 115.8 kB / 0.7797 GB, free: 1.051 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 (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.001467/0.6625, allocations: 1.261 MB / 0.7809 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005524/0.6631, allocations: 287.7 kB / 0.7812 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6631, allocations: 448 / 0.7812 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.6634, allocations: 159.7 kB / 0.7813 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009993/0.6644, allocations: 219.8 kB / 0.7815 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/0.668, allocations: 2.47 MB / 0.7839 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.6685, allocations: 0.8314 MB / 0.7848 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003676/0.6689, allocations: 96.3 kB / 0.7849 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.6691, allocations: 139.4 kB / 0.785 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.6691, allocations: 0 / 0.785 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.694, allocations: 10.97 MB / 0.7957 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/0.6943, allocations: 243.7 kB / 0.7959 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.6, allocations: 0 / 0.7959 GB, free: 0.5703 MB / 0.6075 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: