Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.153/2.153, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 187.2 kB / 498.1 MB, free: 5.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 223.1 MB / 0.7948 GB, free: 18.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009151/0.0009151, allocations: 117.8 kB / 0.9346 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004056/0.0004056, allocations: 9.188 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2767, allocations: 142.4 MB / 1.223 GB, free: 89.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.11/4.387, allocations: 1.888 GB / 3.111 GB, free: 61.08 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/4.387, allocations: 91.28 kB / 3.111 GB, free: 61.03 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.567/6.954, allocations: 0.6057 GB / 3.717 GB, free: 302.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.174e-06/6.954, allocations: 0 / 3.717 GB, free: 302.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001055/6.954, allocations: 19.69 kB / 3.717 GB, free: 302.1 MB / 1.167 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.004075/6.958, allocations: 1.16 MB / 3.718 GB, free: 301.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/6.958, allocations: 10.31 kB / 3.718 GB, free: 301.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002198/6.958, allocations: 78.06 kB / 3.718 GB, free: 301.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/6.96, allocations: 232.5 kB / 3.718 GB, free: 301.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002733/6.963, allocations: 0.891 MB / 3.719 GB, free: 301.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.962e-05/6.963, allocations: 26.28 kB / 3.719 GB, free: 301.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/6.963, allocations: 51.41 kB / 3.719 GB, free: 301.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/6.964, allocations: 0.5029 MB / 3.72 GB, free: 301 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/6.964, allocations: 10.62 kB / 3.72 GB, free: 301 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.591e-05/6.964, allocations: 13.69 kB / 3.72 GB, free: 301 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.365e-05/6.964, allocations: 19.98 kB / 3.72 GB, free: 301 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008774/6.965, allocations: 400.4 kB / 3.72 GB, free: 301 MB / 1.167 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.003073/6.968, allocations: 2.165 MB / 3.722 GB, free: 299.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005911/6.969, allocations: 279.4 kB / 3.722 GB, free: 299.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009315/6.97, allocations: 0.8153 MB / 3.723 GB, free: 299 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002907/6.97, allocations: 199.8 kB / 3.723 GB, free: 298.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=27): time 3.256e-06/6.97, allocations: 3.469 kB / 3.723 GB, free: 298.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=27): time 0.001079/6.971, allocations: 467.8 kB / 3.724 GB, free: 298.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/6.971, allocations: 106.7 kB / 3.724 GB, free: 298.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006553/6.972, allocations: 0.545 MB / 3.725 GB, free: 298.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/6.972, allocations: 36.17 kB / 3.725 GB, free: 298.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/6.972, allocations: 330.4 kB / 3.725 GB, free: 298.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.427e-05/6.972, allocations: 99.92 kB / 3.725 GB, free: 298.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.965e-05/6.972, allocations: 7.875 kB / 3.725 GB, free: 298.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001097/6.972, allocations: 372.3 kB / 3.725 GB, free: 298.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/6.972, allocations: 114.3 kB / 3.725 GB, free: 298.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/6.973, allocations: 308.1 kB / 3.726 GB, free: 297.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/6.973, allocations: 162.4 kB / 3.726 GB, free: 297.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/6.973, allocations: 0 / 3.726 GB, free: 297.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007609/6.974, allocations: 473.5 kB / 3.726 GB, free: 297.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004599/6.974, allocations: 1.839 MB / 3.728 GB, free: 295.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/6.974, allocations: 3.656 kB / 3.728 GB, free: 295.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/6.974, allocations: 7.156 kB / 3.728 GB, free: 295.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/6.975, allocations: 89.38 kB / 3.728 GB, free: 295.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/6.975, allocations: 8.469 kB / 3.728 GB, free: 295.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005326/6.975, allocations: 65.06 kB / 3.728 GB, free: 295.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.488e-05/6.975, allocations: 24.66 kB / 3.728 GB, free: 295.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/6.975, allocations: 3.531 kB / 3.728 GB, free: 295.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005987/6.976, allocations: 380.6 kB / 3.729 GB, free: 295.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/6.976, allocations: 7.75 kB / 3.729 GB, free: 295.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/6.976, allocations: 7.781 kB / 3.729 GB, free: 295.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/6.976, allocations: 87.19 kB / 3.729 GB, free: 295.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/6.976, allocations: 9.781 kB / 3.729 GB, free: 295.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004384/6.977, allocations: 60.86 kB / 3.729 GB, free: 295.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/6.977, allocations: 24.84 kB / 3.729 GB, free: 295.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (49): * Single equations (assignments): 49 * 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.0003043/6.977, allocations: 291 kB / 3.729 GB, free: 295.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/6.977, allocations: 62 kB / 3.729 GB, free: 295.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005666/6.978, allocations: 338.5 kB / 3.73 GB, free: 295.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/6.978, allocations: 3.969 kB / 3.73 GB, free: 295.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/6.978, allocations: 0 / 3.73 GB, free: 295.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/6.978, allocations: 7.609 kB / 3.73 GB, free: 295.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/6.979, allocations: 1.188 MB / 3.731 GB, free: 295.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/6.979, allocations: 0 / 3.731 GB, free: 295.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/6.98, allocations: 52.52 kB / 3.731 GB, free: 295.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.819e-06/6.98, allocations: 9.891 kB / 3.731 GB, free: 295.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/6.98, allocations: 14.14 kB / 3.731 GB, free: 295.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/6.98, allocations: 2.875 kB / 3.731 GB, free: 295.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/6.98, allocations: 9.562 kB / 3.731 GB, free: 295.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008402/6.981, allocations: 0.7342 MB / 3.732 GB, free: 294.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/6.981, allocations: 170.1 kB / 3.732 GB, free: 294.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/6.981, allocations: 11.02 kB / 3.732 GB, free: 294.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003094/6.981, allocations: 18.42 kB / 3.732 GB, free: 294.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/6.981, allocations: 30.39 kB / 3.732 GB, free: 294.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/6.981, allocations: 18.33 kB / 3.732 GB, free: 294.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004737/6.982, allocations: 440.8 kB / 3.732 GB, free: 294.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.024e-06/6.982, allocations: 0 / 3.732 GB, free: 294.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001601/6.983, allocations: 423.5 kB / 3.733 GB, free: 294.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (28): * Single equations (assignments): 26 * 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.004224/6.988, allocations: 3.51 MB / 3.736 GB, free: 292.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008935/6.989, allocations: 0.4921 MB / 3.736 GB, free: 292.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/6.989, allocations: 6.906 kB / 3.737 GB, free: 292.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002144/6.989, allocations: 133.3 kB / 3.737 GB, free: 292.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/6.99, allocations: 257.5 kB / 3.737 GB, free: 292.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008517/6.999, allocations: 7.275 MB / 3.744 GB, free: 288.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/6.999, allocations: 0.9086 MB / 3.745 GB, free: 287.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007223/7, allocations: 183.5 kB / 3.745 GB, free: 287.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/7, allocations: 212.2 kB / 3.745 GB, free: 287.5 MB / 1.167 GB Notification: Performance of SimCode: time 8.62e-07/7, allocations: 0 / 3.745 GB, free: 287.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06637/7.066, allocations: 36.62 MB / 3.781 GB, free: 278.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/7.067, allocations: 236.2 kB / 3.781 GB, free: 278.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.28/10.35, allocations: 3.938 kB / 3.781 GB, free: 278.3 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.fmu > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat does not exist to compare? outputFormat=mat