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.0008844/0.0008843, allocations: 99.05 kB / 16.02 MB, free: 80 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.0009896/0.0009897, allocations: 184.8 kB / 16.92 MB, free: 6.676 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.39/1.39, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7491/0.7491, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003257, allocations: 8 kB / 496 MB, free: 6.223 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1464, allocations: 77.54 MB / 0.56 GB, free: 8.891 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4665/0.6129, allocations: 174.8 MB / 0.7308 GB, free: 7.805 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009205/0.6222, allocations: 7.749 MB / 0.7383 GB, free: 32 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005565/0.6228, allocations: 19.88 kB / 0.7384 GB, free: 12 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000684/0.6235, allocations: 194.9 kB / 0.7385 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002818/0.6263, allocations: 1.14 MB / 0.7397 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.628, allocations: 0.6703 MB / 0.7403 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001743/0.6298, allocations: 1.536 MB / 0.7418 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007059/0.6305, allocations: 334.7 kB / 0.7421 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002864/0.6333, allocations: 0.7534 MB / 0.7429 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008524/0.6342, allocations: 450.3 kB / 0.7433 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.952e-05/0.6343, allocations: 20 kB / 0.7433 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.6363, allocations: 1.087 MB / 0.7444 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002266/0.6365, allocations: 143.6 kB / 0.7445 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003936/0.6369, allocations: 256.4 kB / 0.7448 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.6387, allocations: 0.9696 MB / 0.7457 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6387, allocations: 0 / 0.7457 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6387, allocations: 0 / 0.7457 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.263e-05/0.6387, allocations: 0 / 0.7457 GB, free: 8.473 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.001382/0.6401, allocations: 0.7217 MB / 0.7464 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.6402, allocations: 12.03 kB / 0.7464 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001372/0.6403, allocations: 74.47 kB / 0.7465 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.6414, allocations: 163.1 kB / 0.7467 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005991/0.642, allocations: 383.4 kB / 0.747 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.642, allocations: 29 kB / 0.747 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.498e-05/0.6421, allocations: 36 kB / 0.7471 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008386/0.6429, allocations: 450.4 kB / 0.7475 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.643, allocations: 0 / 0.7475 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.643, allocations: 23.88 kB / 0.7475 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.643, allocations: 8 kB / 0.7475 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006543/0.6437, allocations: 335.8 kB / 0.7479 GB, free: 6.145 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.002241/0.6459, allocations: 2.012 MB / 0.7498 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/0.6464, allocations: 244.3 kB / 0.7501 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.6467, allocations: 152.8 kB / 0.7502 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006054/0.6473, allocations: 327.2 kB / 0.7505 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.6473, allocations: 38.56 kB / 0.7506 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=24): time 1.814e-06/0.6473, allocations: 0 / 0.7506 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24): time 0.001087/0.6484, allocations: 472.7 kB / 0.751 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.6485, allocations: 55.41 kB / 0.7511 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004366/0.6489, allocations: 394 kB / 0.7514 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.649, allocations: 37.69 kB / 0.7515 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.6492, allocations: 228.2 kB / 0.7517 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.571e-05/0.6493, allocations: 86.73 kB / 0.7518 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/0.6493, allocations: 25.72 kB / 0.7518 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.6495, allocations: 354.7 kB / 0.7521 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.6497, allocations: 119.9 kB / 0.7522 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.65, allocations: 190.7 kB / 0.7524 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005336/0.6506, allocations: 321.9 kB / 0.7527 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6506, allocations: 3.938 kB / 0.7527 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007069/0.6513, allocations: 376.8 kB / 0.7531 GB, free: 440 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.6513, allocations: 4 kB / 0.7531 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.6513, allocations: 4 kB / 0.7531 GB, free: 432 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.6514, allocations: 0 / 0.7531 GB, free: 432 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.6517, allocations: 63.91 kB / 0.7532 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.6517, allocations: 4.219 kB / 0.7532 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003007/0.652, allocations: 59.59 kB / 0.7532 GB, free: 304 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/0.652, allocations: 12 kB / 0.7532 GB, free: 292 kB / 0.5606 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.0001768/0.6522, allocations: 165.7 kB / 0.7534 GB, free: 116 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.426e-05/0.6523, allocations: 47.42 kB / 0.7534 GB, free: 68 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000743/0.653, allocations: 377 kB / 0.7538 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.6531, allocations: 4 kB / 0.7538 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6531, allocations: 0 / 0.7538 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.6531, allocations: 3.984 kB / 0.7538 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.6545, allocations: 0.9506 MB / 0.7547 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6545, allocations: 4 kB / 0.7547 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/0.6548, allocations: 51.91 kB / 0.7548 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.6548, allocations: 3.938 kB / 0.7548 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.6548, allocations: 8 kB / 0.7548 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.6548, allocations: 8.219 kB / 0.7548 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.6548, allocations: 11.94 kB / 0.7548 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009508/0.6558, allocations: 0.6382 MB / 0.7554 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.656, allocations: 144.5 kB / 0.7556 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.025e-05/0.656, allocations: 12.06 kB / 0.7556 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.6563, allocations: 27.97 kB / 0.7556 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.6563, allocations: 19.83 kB / 0.7556 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.6564, allocations: 12 kB / 0.7556 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002677/0.6566, allocations: 287.1 kB / 0.7559 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6566, allocations: 0 / 0.7559 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004523/0.6571, allocations: 107.8 kB / 0.756 GB, free: 13.29 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.001439/0.6585, allocations: 1.254 MB / 0.7572 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006256/0.6592, allocations: 299.5 kB / 0.7575 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6592, allocations: 0 / 0.7575 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.6595, allocations: 156.7 kB / 0.7577 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.6607, allocations: 214.8 kB / 0.7579 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004991/0.6657, allocations: 4.025 MB / 0.7618 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.6661, allocations: 0.8353 MB / 0.7626 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003307/0.6665, allocations: 95.41 kB / 0.7627 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.6667, allocations: 139.4 kB / 0.7629 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.6667, allocations: 0 / 0.7629 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.6901, allocations: 10.92 MB / 0.7735 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/0.6903, allocations: 247.4 kB / 0.7738 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.073/2.763, allocations: 0 / 0.7738 GB, free: 11.14 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)