Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_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.001091/0.001091, allocations: 104.5 kB / 16.4 MB, free: 6.461 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.001112/0.001112, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.259/1.259, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.703/0.703, allocations: 115.3 MB / 406.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 62.81 kB / 0.5572 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1481, allocations: 76.18 MB / 0.6316 GB, free: 4.867 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5591/0.7073, allocations: 179.4 MB / 0.8068 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007585/0.7149, allocations: 7.842 MB / 0.8144 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006501/0.7156, allocations: 16.12 kB / 0.8144 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006778/0.7163, allocations: 244.6 kB / 0.8147 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002866/0.7192, allocations: 1.219 MB / 0.8159 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.7208, allocations: 0.7293 MB / 0.8166 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009671/0.7218, allocations: 1.079 MB / 0.8176 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004833/0.7223, allocations: 411.1 kB / 0.818 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.7242, allocations: 0.8429 MB / 0.8188 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004724/0.7247, allocations: 438.4 kB / 0.8193 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.908e-05/0.7248, allocations: 38.03 kB / 0.8193 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.7262, allocations: 0.9496 MB / 0.8202 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.7264, allocations: 157.4 kB / 0.8204 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.7266, allocations: 243.1 kB / 0.8206 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.7277, allocations: 0.9336 MB / 0.8215 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7277, allocations: 0 / 0.8215 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7277, allocations: 0 / 0.8215 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.7277, allocations: 0 / 0.8215 GB, free: 7.523 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.001024/0.7288, allocations: 0.8118 MB / 0.8223 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.7288, allocations: 7.594 kB / 0.8223 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.217e-05/0.7289, allocations: 77.84 kB / 0.8224 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008814/0.7298, allocations: 152.2 kB / 0.8225 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005166/0.7303, allocations: 401.5 kB / 0.8229 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.7303, allocations: 30.59 kB / 0.8229 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.855e-05/0.7304, allocations: 41.59 kB / 0.823 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006213/0.731, allocations: 443.5 kB / 0.8234 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.7311, allocations: 3.938 kB / 0.8234 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.716e-05/0.7311, allocations: 21.22 kB / 0.8234 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.7311, allocations: 7.438 kB / 0.8234 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005296/0.7316, allocations: 318.9 kB / 0.8237 GB, free: 5.871 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.001853/0.7335, allocations: 2.012 MB / 0.8257 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/0.7339, allocations: 240.5 kB / 0.8259 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.7341, allocations: 154.2 kB / 0.8261 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005533/0.7347, allocations: 302.8 kB / 0.8264 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.7347, allocations: 45.3 kB / 0.8264 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.392e-06/0.7347, allocations: 0 / 0.8264 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001017/0.7357, allocations: 446.8 kB / 0.8268 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.7358, allocations: 54.53 kB / 0.8269 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004025/0.7362, allocations: 397.4 kB / 0.8273 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.7362, allocations: 32.3 kB / 0.8273 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.7364, allocations: 235.1 kB / 0.8275 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.521e-05/0.7365, allocations: 85.77 kB / 0.8276 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.791e-05/0.7366, allocations: 56.64 kB / 0.8277 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.7367, allocations: 350.5 kB / 0.828 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.7369, allocations: 117.5 kB / 0.8281 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.7372, allocations: 190.9 kB / 0.8283 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004379/0.7376, allocations: 303.3 kB / 0.8286 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.7376, allocations: 0 / 0.8286 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005528/0.7382, allocations: 363.5 kB / 0.8289 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.7382, allocations: 9.766 kB / 0.8289 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.7382, allocations: 2.094 kB / 0.8289 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.7383, allocations: 4.719 kB / 0.8289 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.7385, allocations: 57.31 kB / 0.829 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.7385, allocations: 2.594 kB / 0.829 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.7388, allocations: 49.2 kB / 0.8291 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.7388, allocations: 13.44 kB / 0.8291 GB, free: 1.621 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.0001596/0.739, allocations: 167.5 kB / 0.8292 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.739, allocations: 40.78 kB / 0.8293 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006194/0.7397, allocations: 363.5 kB / 0.8296 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.7397, allocations: 2.812 kB / 0.8296 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7397, allocations: 0 / 0.8296 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.7397, allocations: 3.984 kB / 0.8296 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.7409, allocations: 0.9393 MB / 0.8305 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.7409, allocations: 2.75 kB / 0.8305 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.7412, allocations: 47.23 kB / 0.8306 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.7412, allocations: 6.219 kB / 0.8306 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.7412, allocations: 13.23 kB / 0.8306 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.7412, allocations: 2.719 kB / 0.8306 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.7412, allocations: 6.062 kB / 0.8306 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008162/0.742, allocations: 0.6353 MB / 0.8312 GB, free: 64 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.7422, allocations: 150.7 kB / 0.8314 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.332e-05/0.7422, allocations: 6.906 kB / 0.8314 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.7425, allocations: 23.12 kB / 0.8314 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.7425, allocations: 18.75 kB / 0.8314 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.7425, allocations: 15.34 kB / 0.8314 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002404/0.7428, allocations: 279.1 kB / 0.8317 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7428, allocations: 2.812 kB / 0.8317 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004238/0.7432, allocations: 112.3 kB / 0.8318 GB, free: 15.68 MB / 0.6075 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.001316/0.7446, allocations: 1.254 MB / 0.833 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005175/0.7451, allocations: 286.5 kB / 0.8333 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7451, allocations: 0 / 0.8333 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.7453, allocations: 147.8 kB / 0.8334 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000923/0.7463, allocations: 213.5 kB / 0.8337 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/0.7505, allocations: 3.799 MB / 0.8374 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.7509, allocations: 0.8268 MB / 0.8382 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002835/0.7512, allocations: 98.2 kB / 0.8383 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.7514, allocations: 139.4 kB / 0.8384 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of SimCode: time 3.8e-07/0.7514, allocations: 4 kB / 0.8384 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.7806, allocations: 11.86 MB / 0.85 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.909/8.69, allocations: 9.281 kB / 0.85 GB, free: 1.309 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)