Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_8_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008771/0.0008771, allocations: 90.91 kB / 15.36 MB, free: 0.7383 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.006815/0.006815, allocations: 171.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.238/1.238, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.581/1.581, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005021/0.0005021, allocations: 14.06 kB / 0.6744 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1871, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.5305/0.7176, allocations: 194.2 MB / 0.9776 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004849/0.7225, allocations: 3.602 MB / 0.9811 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003823/0.7229, allocations: 24.81 kB / 0.9812 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008447/0.7238, allocations: 369.3 kB / 0.9815 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002188/0.726, allocations: 1.176 MB / 0.9827 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.7273, allocations: 0.6526 MB / 0.9833 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001585/0.7289, allocations: 1.837 MB / 0.9851 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005387/0.7295, allocations: 426.9 kB / 0.9855 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/0.7314, allocations: 0.8885 MB / 0.9864 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004742/0.7319, allocations: 468.9 kB / 0.9868 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.709e-05/0.732, allocations: 21.62 kB / 0.9868 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.7337, allocations: 1.311 MB / 0.9881 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.7338, allocations: 186.9 kB / 0.9883 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002712/0.7341, allocations: 326.1 kB / 0.9886 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.7353, allocations: 1.227 MB / 0.9898 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.7353, allocations: 0 / 0.9898 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7354, allocations: 0 / 0.9898 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.7354, allocations: 4 kB / 0.9898 GB, free: 11.25 MB / 0.7325 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.001737/0.7371, allocations: 0.9304 MB / 0.9907 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.7372, allocations: 10.97 kB / 0.9907 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.429e-05/0.7372, allocations: 79.42 kB / 0.9908 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.7384, allocations: 235.5 kB / 0.991 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006509/0.7391, allocations: 0.5458 MB / 0.9916 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.7391, allocations: 28.91 kB / 0.9916 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.894e-05/0.7392, allocations: 39.81 kB / 0.9916 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009459/0.7402, allocations: 0.5518 MB / 0.9922 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.7402, allocations: 1.969 kB / 0.9922 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.7402, allocations: 17.19 kB / 0.9922 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.952e-05/0.7403, allocations: 14.97 kB / 0.9922 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.7413, allocations: 0.521 MB / 0.9927 GB, free: 9.211 MB / 0.7325 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.002827/0.7442, allocations: 2.25 MB / 0.9949 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006597/0.7449, allocations: 361.5 kB / 0.9953 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.7451, allocations: 142.5 kB / 0.9954 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/0.7463, allocations: 0.8641 MB / 0.9962 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000286/0.7466, allocations: 209.5 kB / 0.9964 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=27): time 1.312e-06/0.7466, allocations: 0 / 0.9964 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of matching and sorting (n=27): time 0.0008592/0.7475, allocations: 457.2 kB / 0.9969 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.7475, allocations: 82.17 kB / 0.997 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007497/0.7483, allocations: 0.6556 MB / 0.9976 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.7483, allocations: 33.7 kB / 0.9976 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.7485, allocations: 320.9 kB / 0.9979 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.332e-05/0.7486, allocations: 92.88 kB / 0.998 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/0.7487, allocations: 38.41 kB / 0.9981 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.7488, allocations: 371.4 kB / 0.9984 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.7491, allocations: 135.8 kB / 0.9985 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004158/0.7496, allocations: 294.3 kB / 0.9988 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005761/0.7502, allocations: 385.5 kB / 0.9992 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.7502, allocations: 7.938 kB / 0.9992 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008965/0.7511, allocations: 486.8 kB / 0.9997 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-05/0.7512, allocations: 201.7 kB / 0.9999 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.7512, allocations: 5.25 kB / 0.9999 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.7512, allocations: 5.75 kB / 0.9999 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/0.7516, allocations: 90.22 kB / 0.9999 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.7516, allocations: 15.5 kB / 1 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005863/0.7522, allocations: 86.2 kB / 1 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.7523, allocations: 24.27 kB / 1 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.173e-06/0.7523, allocations: 6.719 kB / 1 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007999/0.7531, allocations: 401.2 kB / 1 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.7531, allocations: 2.469 kB / 1 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.18e-06/0.7531, allocations: 9.969 kB / 1 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.7535, allocations: 86.2 kB / 1.001 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.7535, allocations: 9.031 kB / 1.001 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004603/0.754, allocations: 77.02 kB / 1.001 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.754, allocations: 13 kB / 1.001 GB, free: 2.992 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.XSet.nextTimeEvent,$whenCondition1,XSet.nextTimeEventScaled,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0002814/0.7543, allocations: 285.9 kB / 1.001 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.732e-05/0.7544, allocations: 68.66 kB / 1.001 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005758/0.7549, allocations: 336.1 kB / 1.001 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.755, allocations: 6.453 kB / 1.001 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.755, allocations: 2.094 kB / 1.001 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.755, allocations: 0 / 1.001 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.7563, allocations: 1.104 MB / 1.002 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.7563, allocations: 6.938 kB / 1.002 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.7565, allocations: 40.52 kB / 1.002 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.7565, allocations: 2.906 kB / 1.002 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.7566, allocations: 11.67 kB / 1.002 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.7566, allocations: 5.969 kB / 1.002 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.7566, allocations: 6.969 kB / 1.002 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007567/0.7573, allocations: 0.6136 MB / 1.003 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.7575, allocations: 171.8 kB / 1.003 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.04e-05/0.7576, allocations: 10 kB / 1.003 GB, free: 1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003461/0.7579, allocations: 32.03 kB / 1.003 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.758, allocations: 20.39 kB / 1.003 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.758, allocations: 14.88 kB / 1.003 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006271/0.7587, allocations: 473.7 kB / 1.004 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.074e-06/0.7587, allocations: 0 / 1.004 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007313/0.7594, allocations: 276.7 kB / 1.004 GB, free: 0.6523 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001987/0.7614, allocations: 1.564 MB / 1.006 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009795/0.7624, allocations: 0.5135 MB / 1.006 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7624, allocations: 0.5 kB / 1.006 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.7626, allocations: 138.7 kB / 1.006 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.764, allocations: 267.7 kB / 1.006 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006236/0.7703, allocations: 5.096 MB / 1.011 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.7707, allocations: 0.8909 MB / 1.012 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006239/0.7713, allocations: 169.9 kB / 1.012 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.7716, allocations: 206.9 kB / 1.013 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of SimCode: time 3.31e-07/0.7716, allocations: 0 / 1.013 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.859/3.631, allocations: 15.27 MB / 1.028 GB, free: 3.234 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/3.631, allocations: 258.1 kB / 1.028 GB, free: 2.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/6.066, allocations: 0 / 1.028 GB, free: 2.98 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.fmu > Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)