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.001347/0.001347, 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.001599/0.001599, 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.297/2.297, 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/package.mo): time 1.126/1.126, allocations: 132.2 MB / 423.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005907/0.000591, allocations: 16 kB / 0.5033 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8886/0.8893, allocations: 81.57 MB / 0.583 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2584/1.148, allocations: 149.6 MB / 0.729 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01074/1.159, allocations: 6.527 MB / 0.7354 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008581/1.16, allocations: 11.94 kB / 0.7354 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/1.161, allocations: 258.8 kB / 0.7357 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00358/1.164, allocations: 0.8217 MB / 0.7365 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002555/1.167, allocations: 0.5778 MB / 0.737 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001923/1.169, allocations: 0.6168 MB / 0.7376 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008907/1.17, allocations: 332.1 kB / 0.7379 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002296/1.172, allocations: 0.6933 MB / 0.7386 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007046/1.173, allocations: 322.9 kB / 0.7389 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.348e-05/1.173, allocations: 24 kB / 0.739 GB, free: 488 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/1.174, allocations: 447.2 kB / 0.7394 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001984/1.175, allocations: 135.6 kB / 0.7395 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001808/1.175, allocations: 109.5 kB / 0.7396 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001025/1.176, allocations: 0.5183 MB / 0.7401 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/1.176, allocations: 0 / 0.7401 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.86e-06/1.176, allocations: 3.938 kB / 0.7401 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.426e-06/1.176, allocations: 7.938 kB / 0.7401 GB, free: 15.26 MB / 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.00133/1.177, allocations: 0.6976 MB / 0.7408 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/1.177, allocations: 8.031 kB / 0.7408 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/1.177, allocations: 82.45 kB / 0.7409 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/1.179, allocations: 147.3 kB / 0.741 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006652/1.179, allocations: 375.6 kB / 0.7414 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/1.179, allocations: 29 kB / 0.7414 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-05/1.179, allocations: 40 kB / 0.7415 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009366/1.18, allocations: 450.4 kB / 0.7419 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/1.18, allocations: 0 / 0.7419 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.264e-05/1.18, allocations: 20 kB / 0.7419 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/1.18, allocations: 8 kB / 0.7419 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000716/1.181, allocations: 327.7 kB / 0.7422 GB, free: 12.99 MB / 0.5762 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.002937/1.184, allocations: 2.019 MB / 0.7442 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/1.185, allocations: 242.5 kB / 0.7444 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005221/1.185, allocations: 137 kB / 0.7446 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/1.185, allocations: 38.56 kB / 0.7446 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=24): time 2.494e-06/1.185, allocations: 0 / 0.7446 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24): time 0.001286/1.186, allocations: 480.3 kB / 0.7451 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/1.186, allocations: 51.41 kB / 0.7451 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005029/1.187, allocations: 401.9 kB / 0.7455 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/1.187, allocations: 29.7 kB / 0.7455 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/1.187, allocations: 228.2 kB / 0.7457 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/1.187, allocations: 78.84 kB / 0.7458 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.213e-05/1.187, allocations: 4 kB / 0.7458 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001923/1.188, allocations: 354.8 kB / 0.7462 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/1.188, allocations: 115.9 kB / 0.7463 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004027/1.188, allocations: 186.6 kB / 0.7464 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/1.189, allocations: 135.8 kB / 0.7466 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.189, allocations: 4 kB / 0.7466 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009416/1.19, allocations: 368.8 kB / 0.7469 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/1.19, allocations: 8 kB / 0.7469 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/1.19, allocations: 8.203 kB / 0.7469 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/1.19, allocations: 4 kB / 0.7469 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/1.19, allocations: 63.91 kB / 0.747 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/1.19, allocations: 7.938 kB / 0.747 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003814/1.19, allocations: 63.45 kB / 0.7471 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/1.19, allocations: 16 kB / 0.7471 GB, free: 7.727 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000353/1.191, allocations: 167.5 kB / 0.7473 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.941e-05/1.191, allocations: 43.47 kB / 0.7473 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008448/1.192, allocations: 376.4 kB / 0.7477 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/1.192, allocations: 4 kB / 0.7477 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.192, allocations: 3.984 kB / 0.7477 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.192, allocations: 0 / 0.7477 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/1.194, allocations: 0.9526 MB / 0.7486 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/1.194, allocations: 0 / 0.7486 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/1.194, allocations: 56.19 kB / 0.7486 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/1.194, allocations: 7.953 kB / 0.7487 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/1.194, allocations: 8 kB / 0.7487 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.258e-06/1.194, allocations: 7.938 kB / 0.7487 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.194, allocations: 4 kB / 0.7487 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/1.196, allocations: 0.7175 MB / 0.7494 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003436/1.196, allocations: 148.6 kB / 0.7495 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.666e-05/1.196, allocations: 8 kB / 0.7495 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003931/1.196, allocations: 27.97 kB / 0.7495 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.458e-05/1.196, allocations: 19.97 kB / 0.7496 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/1.197, allocations: 12 kB / 0.7496 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003966/1.197, allocations: 279.1 kB / 0.7498 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.71e-07/1.197, allocations: 0 / 0.7498 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005995/1.198, allocations: 111.8 kB / 0.75 GB, free: 4.613 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 (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.002281/1.2, allocations: 1.817 MB / 0.7517 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008097/1.201, allocations: 296.8 kB / 0.752 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/1.201, allocations: 0 / 0.752 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004045/1.201, allocations: 157.7 kB / 0.7522 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/1.202, allocations: 216.8 kB / 0.7524 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00571/1.208, allocations: 3.494 MB / 0.7558 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/1.209, allocations: 0.8392 MB / 0.7566 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004891/1.209, allocations: 99.41 kB / 0.7567 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/1.209, allocations: 143.4 kB / 0.7568 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of SimCode: time 1.743e-06/1.209, allocations: 0 / 0.7568 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03782/1.247, allocations: 10.89 MB / 0.7675 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003514/1.248, allocations: 213.2 kB / 0.7677 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.011/4.258, allocations: 0 / 0.7677 GB, free: 2.531 MB / 0.5919 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: