Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.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.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="IDEAS_IDEAS_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="IDEAS_IDEAS_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",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.001348/0.001348, allocations: 100.2 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.001486/0.001486, allocations: 177.3 kB / 15.94 MB, free: 228 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.018/2.018, allocations: 223.2 MB / 239.9 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8771/0.8771, allocations: 132.2 MB / 423.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006059/0.000606, allocations: 16.78 kB / 0.5033 GB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8268/0.8274, allocations: 81.57 MB / 0.583 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.2196/1.047, allocations: 164.8 MB / 0.7439 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007037/1.054, allocations: 3.639 MB / 0.7475 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007435/1.055, allocations: 23.81 kB / 0.7475 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001419/1.056, allocations: 418.2 kB / 0.7479 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003412/1.06, allocations: 1.002 MB / 0.7489 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002427/1.062, allocations: 0.6586 MB / 0.7495 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00189/1.064, allocations: 0.8274 MB / 0.7503 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007436/1.065, allocations: 392.6 kB / 0.7507 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002001/1.067, allocations: 0.7593 MB / 0.7514 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005435/1.067, allocations: 314.7 kB / 0.7517 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.835e-05/1.068, allocations: 20 kB / 0.7517 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/1.069, allocations: 0.5967 MB / 0.7523 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001887/1.069, allocations: 159.5 kB / 0.7525 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002001/1.07, allocations: 153.3 kB / 0.7526 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001202/1.071, allocations: 0.7249 MB / 0.7533 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.071, allocations: 0 / 0.7533 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.204e-06/1.071, allocations: 4 kB / 0.7533 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.003e-05/1.071, allocations: 0 / 0.7533 GB, free: 1.668 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.002562/1.073, allocations: 0.9194 MB / 0.7542 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/1.074, allocations: 12.03 kB / 0.7543 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000172/1.074, allocations: 74.53 kB / 0.7543 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/1.075, allocations: 235 kB / 0.7545 GB, free: 384 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/1.076, allocations: 0.5151 MB / 0.755 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.141e-05/1.076, allocations: 33 kB / 0.7551 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.134e-05/1.076, allocations: 39.95 kB / 0.7551 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/1.077, allocations: 0.5474 MB / 0.7557 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/1.077, allocations: 0 / 0.7557 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.139e-05/1.078, allocations: 23.92 kB / 0.7557 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.531e-05/1.078, allocations: 20.98 kB / 0.7557 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/1.079, allocations: 0.5074 MB / 0.7562 GB, free: 14.63 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.003471/1.082, allocations: 2.214 MB / 0.7584 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007609/1.083, allocations: 367.9 kB / 0.7587 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/1.085, allocations: 0.6078 MB / 0.7593 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003879/1.085, allocations: 199.4 kB / 0.7595 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=28): time 2.625e-06/1.085, allocations: 0 / 0.7595 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28): time 0.001181/1.086, allocations: 454.5 kB / 0.7599 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.771e-05/1.086, allocations: 106.8 kB / 0.76 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/1.087, allocations: 0.6447 MB / 0.7607 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/1.087, allocations: 37.7 kB / 0.7607 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/1.088, allocations: 323.7 kB / 0.761 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/1.088, allocations: 94.66 kB / 0.7611 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/1.088, allocations: 8 kB / 0.7611 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002159/1.088, allocations: 378.7 kB / 0.7615 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004013/1.088, allocations: 132.8 kB / 0.7616 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005063/1.089, allocations: 290.3 kB / 0.7619 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004445/1.089, allocations: 175.9 kB / 0.762 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.089, allocations: 3.984 kB / 0.762 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001117/1.091, allocations: 486.8 kB / 0.7625 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007731/1.091, allocations: 1.58 MB / 0.764 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/1.091, allocations: 8 kB / 0.764 GB, free: 6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/1.091, allocations: 4.047 kB / 0.7641 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004753/1.092, allocations: 111.7 kB / 0.7642 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/1.092, allocations: 4 kB / 0.7642 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000727/1.093, allocations: 83.48 kB / 0.7642 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.123e-05/1.093, allocations: 23.98 kB / 0.7643 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.093, allocations: 7.953 kB / 0.7643 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00095/1.094, allocations: 410.3 kB / 0.7647 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/1.094, allocations: 7.938 kB / 0.7647 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/1.094, allocations: 8 kB / 0.7647 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004321/1.094, allocations: 87.89 kB / 0.7648 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/1.094, allocations: 7.938 kB / 0.7648 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005605/1.095, allocations: 79.7 kB / 0.7648 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/1.095, allocations: 12 kB / 0.7649 GB, free: 5.172 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0004082/1.095, allocations: 293 kB / 0.7651 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/1.095, allocations: 67.2 kB / 0.7652 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000689/1.096, allocations: 323.7 kB / 0.7655 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/1.096, allocations: 4 kB / 0.7655 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.096, allocations: 0 / 0.7655 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/1.096, allocations: 4 kB / 0.7655 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/1.098, allocations: 1.196 MB / 0.7667 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.098, allocations: 0 / 0.7667 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/1.098, allocations: 43.92 kB / 0.7667 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/1.098, allocations: 4 kB / 0.7667 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/1.098, allocations: 8 kB / 0.7667 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/1.098, allocations: 4 kB / 0.7667 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.098, allocations: 4 kB / 0.7667 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/1.099, allocations: 0.733 MB / 0.7675 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002608/1.099, allocations: 168.2 kB / 0.7676 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.75e-05/1.1, allocations: 12 kB / 0.7676 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003838/1.1, allocations: 23.97 kB / 0.7677 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/1.1, allocations: 35.92 kB / 0.7677 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/1.1, allocations: 12 kB / 0.7677 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007801/1.101, allocations: 467 kB / 0.7681 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.31e-07/1.101, allocations: 4 kB / 0.7682 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001046/1.102, allocations: 275.6 kB / 0.7684 GB, free: 1.289 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (hum.outCon.T,hum.outCon.Xi) * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002876/1.105, allocations: 2.359 MB / 0.7707 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001349/1.106, allocations: 0.5207 MB / 0.7712 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.106, allocations: 0 / 0.7712 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002444/1.106, allocations: 135.7 kB / 0.7714 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/1.108, allocations: 267.7 kB / 0.7716 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00734/1.115, allocations: 6.049 MB / 0.7775 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005591/1.116, allocations: 0.9059 MB / 0.7784 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008988/1.117, allocations: 172.9 kB / 0.7786 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/1.117, allocations: 203.4 kB / 0.7788 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of SimCode: time 1.563e-06/1.117, allocations: 0 / 0.7788 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1549/1.272, allocations: 15.73 MB / 0.7941 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003729/1.272, allocations: 235.1 kB / 0.7943 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.404/4.676, allocations: 0 / 0.7943 GB, free: 7.008 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.fmu > IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1) Environment - environmentSimulation: