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.0009692/0.0009696, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009495/0.0009495, allocations: 177.3 kB / 15.95 MB, free: 216 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.453/1.453, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.06/1.06, allocations: 143.3 MB / 434.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003336, allocations: 8 kB / 0.5159 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1987, allocations: 83.41 MB / 0.5974 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5362/0.7349, allocations: 149.6 MB / 0.7434 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009821/0.7448, allocations: 6.549 MB / 0.7498 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009184/0.7457, allocations: 11.94 kB / 0.7499 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.747, allocations: 259 kB / 0.7501 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003183/0.7502, allocations: 0.819 MB / 0.7509 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.7523, allocations: 0.5742 MB / 0.7515 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001289/0.7537, allocations: 0.6239 MB / 0.7521 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007156/0.7544, allocations: 323.5 kB / 0.7524 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/0.7565, allocations: 0.6906 MB / 0.753 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008311/0.7573, allocations: 322.9 kB / 0.7534 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.7574, allocations: 23.94 kB / 0.7534 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.7589, allocations: 451.3 kB / 0.7538 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002187/0.7591, allocations: 131.6 kB / 0.7539 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002323/0.7594, allocations: 117.4 kB / 0.754 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.7604, allocations: 0.5412 MB / 0.7546 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.7605, allocations: 0 / 0.7546 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.625e-06/0.7605, allocations: 0 / 0.7546 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.094e-05/0.7605, allocations: 4 kB / 0.7546 GB, free: 11.11 MB / 0.5762 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.001287/0.7618, allocations: 0.7014 MB / 0.7553 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.7618, allocations: 8.031 kB / 0.7553 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.762, allocations: 78.45 kB / 0.7553 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.7631, allocations: 151.3 kB / 0.7555 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006953/0.7638, allocations: 375.6 kB / 0.7559 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.831e-05/0.7638, allocations: 29 kB / 0.7559 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.069e-05/0.7639, allocations: 40 kB / 0.7559 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000781/0.7647, allocations: 443.1 kB / 0.7563 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.7647, allocations: 0 / 0.7563 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.7648, allocations: 20 kB / 0.7564 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.7648, allocations: 12 kB / 0.7564 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006724/0.7655, allocations: 331.7 kB / 0.7567 GB, free: 8.836 MB / 0.5762 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.002521/0.768, allocations: 2.019 MB / 0.7587 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.7685, allocations: 247.4 kB / 0.7589 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004271/0.7689, allocations: 137 kB / 0.759 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.7689, allocations: 34.56 kB / 0.7591 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=24): time 2.325e-06/0.7689, allocations: 4 kB / 0.7591 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24): time 0.00112/0.7701, allocations: 476.6 kB / 0.7595 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.7701, allocations: 55.41 kB / 0.7596 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/0.7706, allocations: 393.9 kB / 0.7599 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.7706, allocations: 29.7 kB / 0.76 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.7708, allocations: 228.3 kB / 0.7602 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.38e-05/0.7709, allocations: 86.75 kB / 0.7603 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.411e-05/0.7709, allocations: 4 kB / 0.7603 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.771, allocations: 358.8 kB / 0.7606 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.7713, allocations: 111.9 kB / 0.7607 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/0.7715, allocations: 186.8 kB / 0.7609 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.7718, allocations: 137.5 kB / 0.761 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.7718, allocations: 0 / 0.761 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006285/0.7725, allocations: 375.4 kB / 0.7614 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.7725, allocations: 4 kB / 0.7614 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.7725, allocations: 12.16 kB / 0.7614 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.7725, allocations: 4 kB / 0.7614 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.7728, allocations: 55.97 kB / 0.7615 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.7728, allocations: 7.938 kB / 0.7615 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.7731, allocations: 64.25 kB / 0.7615 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.7732, allocations: 8 kB / 0.7615 GB, free: 3.582 MB / 0.5762 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.0001859/0.7734, allocations: 169.7 kB / 0.7617 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.103e-05/0.7734, allocations: 43.52 kB / 0.7617 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006747/0.7741, allocations: 378.9 kB / 0.7621 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.7741, allocations: 0 / 0.7621 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.7741, allocations: 0.5625 kB / 0.7621 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.7742, allocations: 7.984 kB / 0.7621 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.7756, allocations: 0.9448 MB / 0.763 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.7756, allocations: 0 / 0.763 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.7758, allocations: 55.69 kB / 0.7631 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.7759, allocations: 4 kB / 0.7631 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.7759, allocations: 15.89 kB / 0.7631 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.361e-06/0.7759, allocations: 7.938 kB / 0.7631 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7759, allocations: 0 / 0.7631 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000952/0.7769, allocations: 0.733 MB / 0.7638 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.7771, allocations: 148.6 kB / 0.764 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.477e-05/0.7771, allocations: 8 kB / 0.764 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.7774, allocations: 23.97 kB / 0.764 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.7775, allocations: 19.98 kB / 0.764 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.7775, allocations: 11.98 kB / 0.764 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002741/0.7778, allocations: 279.1 kB / 0.7643 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7778, allocations: 0 / 0.7643 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004761/0.7783, allocations: 111.8 kB / 0.7644 GB, free: 472 kB / 0.5762 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.001704/0.78, allocations: 1.819 MB / 0.7662 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005743/0.7806, allocations: 291.9 kB / 0.7665 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7806, allocations: 0 / 0.7665 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002552/0.7808, allocations: 155.8 kB / 0.7666 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009645/0.7818, allocations: 214.5 kB / 0.7668 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/0.7856, allocations: 3.502 MB / 0.7702 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.7861, allocations: 0.843 MB / 0.7711 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003312/0.7864, allocations: 90.59 kB / 0.7711 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.7866, allocations: 143.4 kB / 0.7713 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of SimCode: time 6.42e-07/0.7866, allocations: 0 / 0.7713 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.8105, allocations: 10.94 MB / 0.782 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/0.8107, allocations: 236 kB / 0.7822 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/2.773, allocations: 4 kB / 0.7822 GB, free: 14.39 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: