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.001221/0.001221, allocations: 108 kB / 15.6 MB, free: 132 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.00125/0.00125, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.197/1.197, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7106/0.7106, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 65.84 kB / 0.5019 GB, free: 8.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1613, allocations: 80.2 MB / 0.5802 GB, free: 8.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4933/0.6546, allocations: 179.4 MB / 0.7554 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00848/0.6632, allocations: 7.822 MB / 0.763 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003868/0.6636, allocations: 23.88 kB / 0.763 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000614/0.6642, allocations: 234.2 kB / 0.7633 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002564/0.6668, allocations: 1.233 MB / 0.7645 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.6684, allocations: 0.728 MB / 0.7652 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001005/0.6694, allocations: 1.072 MB / 0.7662 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000505/0.6699, allocations: 412.6 kB / 0.7666 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001929/0.6718, allocations: 0.8291 MB / 0.7674 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005757/0.6724, allocations: 438.5 kB / 0.7678 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.6725, allocations: 36 kB / 0.7679 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.6742, allocations: 0.9393 MB / 0.7688 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.6743, allocations: 167.5 kB / 0.769 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.6746, allocations: 246.8 kB / 0.7692 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.6758, allocations: 0.9349 MB / 0.7701 GB, free: 252 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.6758, allocations: 4 kB / 0.7701 GB, free: 248 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6758, allocations: 0 / 0.7701 GB, free: 248 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.6758, allocations: 0 / 0.7701 GB, free: 248 kB / 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.001034/0.6768, allocations: 0.8018 MB / 0.7709 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.6769, allocations: 8.031 kB / 0.7709 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.77e-05/0.677, allocations: 82.52 kB / 0.771 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009192/0.6779, allocations: 139.3 kB / 0.7711 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.6784, allocations: 391.4 kB / 0.7715 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.6784, allocations: 29 kB / 0.7715 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.026e-05/0.6785, allocations: 39.94 kB / 0.7715 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006777/0.6792, allocations: 442.4 kB / 0.772 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.6792, allocations: 11.94 kB / 0.772 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.6793, allocations: 16 kB / 0.772 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.6793, allocations: 8 kB / 0.772 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005944/0.6799, allocations: 319.7 kB / 0.7723 GB, free: 13.87 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.002106/0.682, allocations: 2.023 MB / 0.7743 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000443/0.6824, allocations: 238.4 kB / 0.7745 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.6827, allocations: 148.8 kB / 0.7747 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000662/0.6834, allocations: 303.2 kB / 0.7749 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.6834, allocations: 42.5 kB / 0.775 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.853e-06/0.6835, allocations: 4 kB / 0.775 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001173/0.6846, allocations: 448 kB / 0.7754 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.6847, allocations: 59.27 kB / 0.7755 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004457/0.6851, allocations: 397.9 kB / 0.7758 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.6852, allocations: 25.7 kB / 0.7759 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.6854, allocations: 240.2 kB / 0.7761 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.625e-05/0.6855, allocations: 82.81 kB / 0.7762 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.6856, allocations: 53.7 kB / 0.7762 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.6858, allocations: 358.7 kB / 0.7766 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.686, allocations: 107.9 kB / 0.7767 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.6863, allocations: 196 kB / 0.7769 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000516/0.6869, allocations: 301.3 kB / 0.7772 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.6869, allocations: 0 / 0.7772 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006246/0.6875, allocations: 364.8 kB / 0.7775 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.6875, allocations: 8.031 kB / 0.7775 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.6876, allocations: 4 kB / 0.7775 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.6876, allocations: 4 kB / 0.7775 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.6879, allocations: 59.03 kB / 0.7776 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.6879, allocations: 7.984 kB / 0.7776 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.6881, allocations: 35.62 kB / 0.7776 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/0.6882, allocations: 19.92 kB / 0.7776 GB, free: 8.062 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000181/0.6884, allocations: 169.7 kB / 0.7778 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.29e-05/0.6884, allocations: 39.53 kB / 0.7778 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007205/0.6892, allocations: 368.1 kB / 0.7782 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.6892, allocations: 4 kB / 0.7782 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.6892, allocations: 0 / 0.7782 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.6892, allocations: 0.875 kB / 0.7782 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.6906, allocations: 0.9409 MB / 0.7791 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6906, allocations: 0 / 0.7791 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.6909, allocations: 60.06 kB / 0.7792 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.6909, allocations: 4 kB / 0.7792 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.6909, allocations: 8 kB / 0.7792 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.6909, allocations: 4.562 kB / 0.7792 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.6909, allocations: 3.984 kB / 0.7792 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008798/0.6918, allocations: 0.6245 MB / 0.7798 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.692, allocations: 148.6 kB / 0.7799 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.752e-05/0.692, allocations: 8.875 kB / 0.7799 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.6923, allocations: 12.06 kB / 0.78 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.6923, allocations: 23.91 kB / 0.78 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.6924, allocations: 12 kB / 0.78 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002524/0.6926, allocations: 275.1 kB / 0.7803 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6926, allocations: 0 / 0.7803 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004379/0.6931, allocations: 119.7 kB / 0.7804 GB, free: 5.121 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 (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.001393/0.6945, allocations: 1.251 MB / 0.7816 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005946/0.6951, allocations: 303.3 kB / 0.7819 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6951, allocations: 0 / 0.7819 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002644/0.6954, allocations: 147.8 kB / 0.782 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.6964, allocations: 238.2 kB / 0.7822 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00449/0.7009, allocations: 3.831 MB / 0.786 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.7013, allocations: 0.8311 MB / 0.7868 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003233/0.7016, allocations: 107.4 kB / 0.7869 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.7018, allocations: 135.4 kB / 0.787 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.7018, allocations: 0 / 0.787 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03208/0.7339, allocations: 11.55 MB / 0.7983 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/8.689, allocations: 9.688 kB / 0.7983 GB, free: 2.793 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/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)