Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_dev_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.001535/0.001535, 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.002111/0.002112, 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 2.934/2.934, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.852/1.852, allocations: 135.2 MB / 426.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005546/0.0005548, allocations: 12 kB / 0.5069 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3471, allocations: 82.31 MB / 0.5873 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.9515/1.299, allocations: 149.5 MB / 0.7333 GB, free: 2.145 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01504/1.314, allocations: 6.54 MB / 0.7397 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/1.315, allocations: 18.34 kB / 0.7397 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001651/1.317, allocations: 244.2 kB / 0.7399 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004914/1.322, allocations: 0.8208 MB / 0.7407 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003684/1.325, allocations: 0.5826 MB / 0.7413 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002395/1.328, allocations: 0.6175 MB / 0.7419 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/1.329, allocations: 335.7 kB / 0.7422 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003243/1.332, allocations: 0.6979 MB / 0.7429 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/1.333, allocations: 322.8 kB / 0.7432 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.85e-05/1.334, allocations: 20.31 kB / 0.7432 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/1.336, allocations: 442.8 kB / 0.7437 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003049/1.336, allocations: 137.2 kB / 0.7438 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002928/1.336, allocations: 113.5 kB / 0.7439 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001915/1.338, allocations: 0.5196 MB / 0.7444 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.338, allocations: 0 / 0.7444 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.488e-06/1.338, allocations: 0 / 0.7444 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.108e-05/1.338, allocations: 0 / 0.7444 GB, free: 11.08 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.002034/1.341, allocations: 0.7132 MB / 0.7451 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 8.886e-05/1.341, allocations: 12.03 kB / 0.7451 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001678/1.341, allocations: 75.19 kB / 0.7452 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/1.343, allocations: 146 kB / 0.7453 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009223/1.344, allocations: 373.4 kB / 0.7457 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.687e-05/1.344, allocations: 29 kB / 0.7457 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.733e-05/1.344, allocations: 38.25 kB / 0.7458 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/1.345, allocations: 451.4 kB / 0.7462 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/1.345, allocations: 0 / 0.7462 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.819e-05/1.345, allocations: 16.56 kB / 0.7462 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/1.345, allocations: 8 kB / 0.7462 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009699/1.346, allocations: 333.1 kB / 0.7465 GB, free: 9.055 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.003719/1.35, allocations: 2.019 MB / 0.7485 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00063/1.35, allocations: 240.4 kB / 0.7487 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006446/1.351, allocations: 147.7 kB / 0.7489 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.823e-05/1.351, allocations: 40.44 kB / 0.7489 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=24): time 4.178e-06/1.351, allocations: 3.938 kB / 0.7489 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24): time 0.001618/1.353, allocations: 471.3 kB / 0.7494 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/1.353, allocations: 51.41 kB / 0.7494 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006789/1.354, allocations: 394 kB / 0.7498 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.577e-05/1.354, allocations: 29.7 kB / 0.7498 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/1.354, allocations: 228.2 kB / 0.75 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/1.354, allocations: 86.84 kB / 0.7501 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/1.354, allocations: 4 kB / 0.7501 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001952/1.354, allocations: 354.7 kB / 0.7505 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/1.355, allocations: 115.9 kB / 0.7506 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004345/1.355, allocations: 196.2 kB / 0.7508 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/1.355, allocations: 135.2 kB / 0.7509 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/1.355, allocations: 0 / 0.7509 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009974/1.357, allocations: 376.8 kB / 0.7512 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/1.357, allocations: 4 kB / 0.7512 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/1.357, allocations: 0 / 0.7512 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/1.357, allocations: 4 kB / 0.7512 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004316/1.357, allocations: 63.91 kB / 0.7513 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/1.357, allocations: 4 kB / 0.7513 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005163/1.358, allocations: 55.75 kB / 0.7514 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.198e-05/1.358, allocations: 12 kB / 0.7514 GB, free: 4.078 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003315/1.358, allocations: 177.6 kB / 0.7515 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/1.358, allocations: 39.53 kB / 0.7516 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/1.359, allocations: 376.7 kB / 0.7519 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/1.359, allocations: 7.938 kB / 0.752 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.359, allocations: 0 / 0.752 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.359, allocations: 0 / 0.752 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/1.362, allocations: 0.9548 MB / 0.7529 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/1.362, allocations: 0 / 0.7529 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/1.362, allocations: 51.91 kB / 0.7529 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.59e-05/1.362, allocations: 4 kB / 0.7529 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/1.362, allocations: 11.95 kB / 0.7529 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/1.362, allocations: 0 / 0.7529 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/1.362, allocations: 4 kB / 0.753 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/1.364, allocations: 0.7269 MB / 0.7537 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003321/1.364, allocations: 148.5 kB / 0.7538 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.705e-05/1.364, allocations: 11.98 kB / 0.7538 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004004/1.364, allocations: 28.05 kB / 0.7538 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.131e-05/1.365, allocations: 15.97 kB / 0.7539 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.107e-05/1.365, allocations: 12 kB / 0.7539 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005334/1.365, allocations: 275.1 kB / 0.7541 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/1.365, allocations: 3.938 kB / 0.7541 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008891/1.366, allocations: 111.8 kB / 0.7542 GB, free: 0.9648 MB / 0.5606 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.00288/1.369, allocations: 1.836 MB / 0.756 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001179/1.37, allocations: 289.5 kB / 0.7563 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.37, allocations: 4 kB / 0.7563 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005739/1.371, allocations: 156.6 kB / 0.7565 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/1.373, allocations: 214 kB / 0.7567 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007795/1.381, allocations: 3.489 MB / 0.7601 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007367/1.382, allocations: 0.8392 MB / 0.7609 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008167/1.382, allocations: 100.2 kB / 0.761 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003724/1.383, allocations: 135.4 kB / 0.7611 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of SimCode: time 1.703e-06/1.383, allocations: 3.938 kB / 0.7611 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09833/1.481, allocations: 10.9 MB / 0.7718 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003808/1.482, allocations: 221.9 kB / 0.772 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.548/5.029, allocations: 0 / 0.772 GB, free: 14.88 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: