Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_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.0009567/0.0009568, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001133/0.001133, allocations: 168.7 kB / 15.95 MB, free: 204 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.378/1.378, allocations: 223.2 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7452/0.7452, allocations: 132.3 MB / 423.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005306/0.0005306, allocations: 8 kB / 0.5035 GB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4484/0.4489, allocations: 81.57 MB / 0.5832 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1818/0.6308, allocations: 163.1 MB / 0.7424 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008235/0.6391, allocations: 7.279 MB / 0.7496 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006632/0.6398, allocations: 11.94 kB / 0.7496 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006359/0.6404, allocations: 166.8 kB / 0.7497 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002297/0.6428, allocations: 0.8981 MB / 0.7506 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.6442, allocations: 0.5365 MB / 0.7511 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001313/0.6455, allocations: 1.298 MB / 0.7524 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000479/0.646, allocations: 324 kB / 0.7527 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.6475, allocations: 0.681 MB / 0.7534 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005766/0.6481, allocations: 414.5 kB / 0.7538 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.881e-05/0.6481, allocations: 27.98 kB / 0.7538 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.6494, allocations: 0.5223 MB / 0.7543 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.6496, allocations: 147.5 kB / 0.7544 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.6497, allocations: 113.5 kB / 0.7545 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007066/0.6504, allocations: 0.5807 MB / 0.7551 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6504, allocations: 3.938 kB / 0.7551 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6504, allocations: 0 / 0.7551 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.6504, allocations: 0 / 0.7551 GB, free: 15.98 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.0009919/0.6514, allocations: 0.7305 MB / 0.7558 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.6515, allocations: 8.031 kB / 0.7558 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.239e-05/0.6516, allocations: 70.53 kB / 0.7559 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008814/0.6524, allocations: 159.3 kB / 0.7561 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004832/0.6529, allocations: 371.6 kB / 0.7564 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.653, allocations: 29 kB / 0.7564 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/0.653, allocations: 36 kB / 0.7565 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006894/0.6537, allocations: 450.4 kB / 0.7569 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.6538, allocations: 4 kB / 0.7569 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.6538, allocations: 16 kB / 0.7569 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.6538, allocations: 8 kB / 0.7569 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000599/0.6544, allocations: 335.7 kB / 0.7573 GB, free: 13.68 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.001933/0.6564, allocations: 2.015 MB / 0.7592 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/0.6568, allocations: 242.4 kB / 0.7595 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.657, allocations: 160.8 kB / 0.7596 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005752/0.6576, allocations: 319.2 kB / 0.7599 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.6576, allocations: 34.56 kB / 0.7599 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.743e-06/0.6576, allocations: 0 / 0.7599 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.0009688/0.6586, allocations: 484.2 kB / 0.7604 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.6587, allocations: 55.41 kB / 0.7605 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.6591, allocations: 390 kB / 0.7608 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.6591, allocations: 37.69 kB / 0.7609 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.6593, allocations: 228.2 kB / 0.7611 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.046e-05/0.6593, allocations: 82.83 kB / 0.7612 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/0.6594, allocations: 8 kB / 0.7612 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.6595, allocations: 350.8 kB / 0.7615 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.6598, allocations: 111.9 kB / 0.7616 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.66, allocations: 186.8 kB / 0.7618 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.6603, allocations: 135.9 kB / 0.7619 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6603, allocations: 0 / 0.7619 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006134/0.6609, allocations: 376.8 kB / 0.7623 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.661, allocations: 8 kB / 0.7623 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.661, allocations: 0 / 0.7623 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.661, allocations: 4 kB / 0.7623 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.6613, allocations: 59.91 kB / 0.7623 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.6613, allocations: 11.89 kB / 0.7624 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.6616, allocations: 59.69 kB / 0.7624 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.6616, allocations: 16 kB / 0.7624 GB, free: 8.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.0001711/0.6618, allocations: 161.8 kB / 0.7626 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.348e-05/0.6619, allocations: 43.52 kB / 0.7626 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006879/0.6626, allocations: 376.4 kB / 0.763 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.6626, allocations: 4 kB / 0.763 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.6626, allocations: 0 / 0.763 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.6626, allocations: 7.938 kB / 0.763 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.6639, allocations: 0.9527 MB / 0.7639 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.664, allocations: 3.953 kB / 0.7639 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.6642, allocations: 55.91 kB / 0.764 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.6642, allocations: 4 kB / 0.764 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.6642, allocations: 8 kB / 0.764 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.6642, allocations: 3.938 kB / 0.764 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6643, allocations: 4 kB / 0.764 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008671/0.6651, allocations: 0.6375 MB / 0.7646 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.6653, allocations: 152.5 kB / 0.7648 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.427e-05/0.6653, allocations: 8 kB / 0.7648 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.6656, allocations: 28.03 kB / 0.7648 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.6657, allocations: 15.98 kB / 0.7648 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.6657, allocations: 12 kB / 0.7648 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002797/0.666, allocations: 279.1 kB / 0.7651 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.666, allocations: 0 / 0.7651 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004606/0.6664, allocations: 111.8 kB / 0.7652 GB, free: 5.059 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.001409/0.6679, allocations: 1.259 MB / 0.7664 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005478/0.6684, allocations: 304.6 kB / 0.7667 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6684, allocations: 0 / 0.7667 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.6687, allocations: 153.7 kB / 0.7669 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.6697, allocations: 217.2 kB / 0.7671 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.6731, allocations: 2.471 MB / 0.7695 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.6735, allocations: 0.8314 MB / 0.7703 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003203/0.6738, allocations: 91.42 kB / 0.7704 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.674, allocations: 139.4 kB / 0.7705 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.6741, allocations: 0 / 0.7705 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.6981, allocations: 10.91 MB / 0.7812 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/0.6983, allocations: 222.1 kB / 0.7814 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/2.654, allocations: 0 / 0.7814 GB, free: 4.59 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: