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.001664/0.001664, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002187/0.002187, allocations: 209.8 kB / 16.79 MB, free: 6.84 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.363/1.363, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6806/0.6806, allocations: 115.3 MB / 406 MB, free: 2.785 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 68.11 kB / 493 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1374, allocations: 76.18 MB / 0.5558 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4245/0.5619, allocations: 177.1 MB / 0.7288 GB, free: 5.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008616/0.5706, allocations: 7.868 MB / 0.7365 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004839/0.5711, allocations: 19.81 kB / 0.7365 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006517/0.5718, allocations: 190.8 kB / 0.7367 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002563/0.5744, allocations: 1.148 MB / 0.7378 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.5759, allocations: 0.6614 MB / 0.7385 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001335/0.5772, allocations: 1.54 MB / 0.74 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004516/0.5777, allocations: 346.3 kB / 0.7403 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002211/0.5799, allocations: 0.7646 MB / 0.7411 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005545/0.5805, allocations: 454.3 kB / 0.7415 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.249e-05/0.5805, allocations: 24 kB / 0.7415 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002074/0.5826, allocations: 1.091 MB / 0.7426 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.5828, allocations: 147.6 kB / 0.7427 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003372/0.5832, allocations: 242.6 kB / 0.743 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.5851, allocations: 0.9738 MB / 0.7439 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.5852, allocations: 0 / 0.7439 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5852, allocations: 0 / 0.7439 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.442e-05/0.5852, allocations: 0 / 0.7439 GB, free: 6.277 MB / 0.5606 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.001597/0.5868, allocations: 0.8073 MB / 0.7447 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.5869, allocations: 8.031 kB / 0.7447 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001792/0.587, allocations: 74.53 kB / 0.7448 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.5884, allocations: 159.2 kB / 0.7449 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006802/0.5891, allocations: 375.5 kB / 0.7453 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.5891, allocations: 29 kB / 0.7453 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.171e-05/0.5892, allocations: 39.91 kB / 0.7454 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.5902, allocations: 450.4 kB / 0.7458 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.5903, allocations: 4 kB / 0.7458 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.059e-05/0.5903, allocations: 23.88 kB / 0.7458 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.5904, allocations: 8 kB / 0.7458 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008655/0.5912, allocations: 319.8 kB / 0.7461 GB, free: 3.887 MB / 0.5606 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.002969/0.5942, allocations: 2.008 MB / 0.7481 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006448/0.5949, allocations: 242.4 kB / 0.7483 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004292/0.5953, allocations: 144.8 kB / 0.7485 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007304/0.5961, allocations: 311.2 kB / 0.7487 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.5961, allocations: 38.56 kB / 0.7488 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=24): time 2.023e-06/0.5961, allocations: 0 / 0.7488 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24): time 0.001392/0.5975, allocations: 452.1 kB / 0.7492 GB, free: 472 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.5976, allocations: 55.41 kB / 0.7493 GB, free: 404 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006037/0.5982, allocations: 394 kB / 0.7496 GB, free: 4 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.363e-05/0.5983, allocations: 29.7 kB / 0.7497 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.5985, allocations: 232.2 kB / 0.7499 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.644e-05/0.5986, allocations: 82.84 kB / 0.75 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.5988, allocations: 61.59 kB / 0.75 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.5989, allocations: 354.7 kB / 0.7504 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/0.5993, allocations: 111.9 kB / 0.7505 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.5997, allocations: 186.7 kB / 0.7507 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006986/0.6004, allocations: 308 kB / 0.7509 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6004, allocations: 3.938 kB / 0.751 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000954/0.6014, allocations: 364.5 kB / 0.7513 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.6014, allocations: 8 kB / 0.7513 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.6015, allocations: 0 / 0.7513 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.6015, allocations: 7.938 kB / 0.7513 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004575/0.6019, allocations: 59.91 kB / 0.7514 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.602, allocations: 10.12 kB / 0.7514 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/0.6024, allocations: 59.69 kB / 0.7514 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-05/0.6025, allocations: 12 kB / 0.7514 GB, free: 14.08 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000256/0.6028, allocations: 169.7 kB / 0.7516 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.6029, allocations: 39.53 kB / 0.7516 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009825/0.6039, allocations: 369 kB / 0.752 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.6039, allocations: 0 / 0.752 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6039, allocations: 0 / 0.752 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.6039, allocations: 0 / 0.752 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.606, allocations: 0.9409 MB / 0.7529 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.606, allocations: 0 / 0.7529 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/0.6064, allocations: 51.91 kB / 0.753 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/0.6064, allocations: 7.938 kB / 0.753 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.6065, allocations: 8 kB / 0.753 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.161e-05/0.6065, allocations: 8 kB / 0.753 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.6065, allocations: 4.156 kB / 0.753 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.6078, allocations: 0.6233 MB / 0.7536 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002584/0.6081, allocations: 152.4 kB / 0.7538 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.07e-05/0.6082, allocations: 11.98 kB / 0.7538 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.6086, allocations: 15.98 kB / 0.7538 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.506e-05/0.6087, allocations: 31.97 kB / 0.7538 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.6087, allocations: 8 kB / 0.7538 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004072/0.6091, allocations: 279.1 kB / 0.7541 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.6091, allocations: 0 / 0.7541 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007398/0.6099, allocations: 107.8 kB / 0.7542 GB, free: 11.13 MB / 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 (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.002163/0.6121, allocations: 1.239 MB / 0.7554 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008415/0.6129, allocations: 287.8 kB / 0.7557 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.6129, allocations: 4.062 kB / 0.7557 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004055/0.6133, allocations: 149.2 kB / 0.7558 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.6149, allocations: 222.5 kB / 0.756 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007456/0.6224, allocations: 3.957 MB / 0.7599 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/0.623, allocations: 0.8353 MB / 0.7607 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005343/0.6235, allocations: 99.41 kB / 0.7608 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.6238, allocations: 139.4 kB / 0.7609 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.6238, allocations: 0 / 0.7609 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.6531, allocations: 11.07 MB / 0.7717 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/0.6533, allocations: 253 kB / 0.772 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.01/2.663, allocations: 7.562 kB / 0.772 GB, free: 8.906 MB / 0.5919 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)