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/Complex 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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 172.2 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9099/0.9099, allocations: 133.5 MB / 141.6 MB, free: 2.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 221.5 MB / 395.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009301/0.0009302, allocations: 108.2 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.466e-05/2.491e-05, allocations: 4 kB / 0.5535 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4908/0.4908, allocations: 82.3 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.939/5.43, allocations: 1.85 GB / 2.484 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/5.43, allocations: 92.95 kB / 2.484 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.308/7.739, allocations: 0.5985 GB / 3.083 GB, free: 74.18 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.382e-06/7.739, allocations: 3.609 kB / 3.083 GB, free: 74.18 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.678e-05/7.739, allocations: 22.81 kB / 3.083 GB, free: 74.16 MB / 0.6823 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.003286/7.742, allocations: 1.043 MB / 3.084 GB, free: 73.08 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/7.742, allocations: 12.03 kB / 3.084 GB, free: 73.07 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/7.744, allocations: 215 kB / 3.084 GB, free: 72.86 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002506/7.746, allocations: 0.8992 MB / 3.085 GB, free: 71.93 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/7.746, allocations: 15.98 kB / 3.085 GB, free: 71.91 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/7.746, allocations: 28 kB / 3.085 GB, free: 71.89 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006279/7.747, allocations: 325.5 kB / 3.085 GB, free: 71.57 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006327/7.748, allocations: 447.8 kB / 3.086 GB, free: 71.11 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/7.748, allocations: 4 kB / 3.086 GB, free: 71.11 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/7.748, allocations: 0 / 3.086 GB, free: 71.11 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/7.748, allocations: 16.78 kB / 3.086 GB, free: 71.09 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.00264/7.751, allocations: 2.059 MB / 3.088 GB, free: 68.88 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004536/7.751, allocations: 258.6 kB / 3.088 GB, free: 68.62 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/7.751, allocations: 120.8 kB / 3.088 GB, free: 68.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009714/7.752, allocations: 0.8191 MB / 3.089 GB, free: 67.51 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/7.752, allocations: 189.8 kB / 3.089 GB, free: 67.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 1.613e-06/7.752, allocations: 0 / 3.089 GB, free: 67.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=27): time 0.003671/7.756, allocations: 0.8339 MB / 3.09 GB, free: 66.46 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/7.756, allocations: 107 kB / 3.09 GB, free: 66.34 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/7.757, allocations: 450.3 kB / 3.09 GB, free: 65.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/7.757, allocations: 33.72 kB / 3.09 GB, free: 65.85 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/7.757, allocations: 331.6 kB / 3.091 GB, free: 65.52 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.717e-05/7.757, allocations: 90.73 kB / 3.091 GB, free: 65.43 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/7.757, allocations: 0 / 3.091 GB, free: 65.43 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.574e-05/7.757, allocations: 366.7 kB / 3.091 GB, free: 65.06 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/7.757, allocations: 104.8 kB / 3.091 GB, free: 64.96 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/7.757, allocations: 288.9 kB / 3.092 GB, free: 64.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002935/7.76, allocations: 0.6465 MB / 3.092 GB, free: 63.95 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/7.76, allocations: 0 / 3.092 GB, free: 63.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003331/7.764, allocations: 0.9053 MB / 3.093 GB, free: 63.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003438/7.764, allocations: 1.837 MB / 3.095 GB, free: 61.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/7.764, allocations: 8 kB / 3.095 GB, free: 61.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/7.764, allocations: 8 kB / 3.095 GB, free: 61.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/7.764, allocations: 83.89 kB / 3.095 GB, free: 60.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/7.764, allocations: 15.92 kB / 3.095 GB, free: 60.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004341/7.765, allocations: 43.67 kB / 3.095 GB, free: 60.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.282e-05/7.765, allocations: 20 kB / 3.095 GB, free: 60.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/7.765, allocations: 4 kB / 3.095 GB, free: 60.88 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003211/7.768, allocations: 0.8152 MB / 3.096 GB, free: 60.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/7.768, allocations: 4 kB / 3.096 GB, free: 60.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.647e-06/7.768, allocations: 15.92 kB / 3.096 GB, free: 60.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/7.769, allocations: 88.41 kB / 3.096 GB, free: 59.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/7.769, allocations: 19.94 kB / 3.096 GB, free: 59.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/7.769, allocations: 39.67 kB / 3.096 GB, free: 59.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.092e-05/7.769, allocations: 20 kB / 3.096 GB, free: 59.88 MB / 0.6823 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 () * 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.0001573/7.769, allocations: 130.6 kB / 3.096 GB, free: 59.75 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003205/7.772, allocations: 0.7856 MB / 3.097 GB, free: 58.96 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.806e-05/7.772, allocations: 59.25 kB / 3.097 GB, free: 58.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003317/7.776, allocations: 0.796 MB / 3.098 GB, free: 58.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/7.776, allocations: 0 / 3.098 GB, free: 58.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/7.776, allocations: 8 kB / 3.098 GB, free: 58.09 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/7.776, allocations: 3.984 kB / 3.098 GB, free: 58.09 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004206/7.78, allocations: 1.595 MB / 3.099 GB, free: 56.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/7.78, allocations: 4 kB / 3.099 GB, free: 56.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/7.78, allocations: 47.91 kB / 3.099 GB, free: 56.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/7.78, allocations: 4 kB / 3.099 GB, free: 56.36 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/7.78, allocations: 4 kB / 3.099 GB, free: 56.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/7.78, allocations: 8.281 kB / 3.099 GB, free: 56.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/7.78, allocations: 8.078 kB / 3.099 GB, free: 56.34 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003386/7.784, allocations: 1.202 MB / 3.101 GB, free: 55.04 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/7.784, allocations: 168.4 kB / 3.101 GB, free: 54.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.265e-05/7.784, allocations: 4 kB / 3.101 GB, free: 54.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/7.784, allocations: 20 kB / 3.101 GB, free: 54.84 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/7.784, allocations: 23.92 kB / 3.101 GB, free: 54.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/7.784, allocations: 11.98 kB / 3.101 GB, free: 54.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003639/7.785, allocations: 346.9 kB / 3.101 GB, free: 54.46 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/7.785, allocations: 0 / 3.101 GB, free: 54.46 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001272/7.786, allocations: 383.2 kB / 3.101 GB, free: 54.09 MB / 0.6823 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) * 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.006019/7.792, allocations: 4.069 MB / 3.105 GB, free: 49.97 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007858/7.793, allocations: 472.6 kB / 3.106 GB, free: 49.51 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/7.793, allocations: 4 kB / 3.106 GB, free: 49.51 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/7.793, allocations: 119.8 kB / 3.106 GB, free: 49.39 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/7.794, allocations: 206.5 kB / 3.106 GB, free: 49.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/7.798, allocations: 1.794 MB / 3.108 GB, free: 47.34 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/7.799, allocations: 0.9145 MB / 3.109 GB, free: 46.39 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007722/7.799, allocations: 208.5 kB / 3.109 GB, free: 46.19 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/7.8, allocations: 199.4 kB / 3.109 GB, free: 45.99 MB / 0.6823 GB Notification: Performance of SimCode: time 1.153e-06/7.8, allocations: 0 / 3.109 GB, free: 45.99 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0539/7.854, allocations: 24.47 MB / 3.133 GB, free: 21.65 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/7.854, allocations: 175.5 kB / 3.133 GB, free: 21.45 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.883/10.74, allocations: 4 kB / 3.133 GB, free: 21.45 MB / 0.6823 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)