Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_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.001174/0.001174, allocations: 99.78 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.001281/0.001281, 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 1.315/1.315, allocations: 223.2 MB / 239.9 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.541/2.541, allocations: 409.2 MB / 0.6838 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003549, allocations: 12 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7816/0.7819, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.162/0.944, allocations: 150.3 MB / 1.128 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006454/0.9505, allocations: 3.642 MB / 1.131 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007259/0.9513, allocations: 23.81 kB / 1.131 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.9525, allocations: 426.3 kB / 1.132 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002849/0.9554, allocations: 0.9958 MB / 1.133 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.9575, allocations: 0.6593 MB / 1.133 GB, free: 9.84 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001703/0.9592, allocations: 0.8234 MB / 1.134 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006797/0.9599, allocations: 400.4 kB / 1.134 GB, free: 8.621 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.9618, allocations: 0.7477 MB / 1.135 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004963/0.9623, allocations: 310.8 kB / 1.135 GB, free: 7.566 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.354e-05/0.9624, allocations: 24 kB / 1.136 GB, free: 7.543 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.9638, allocations: 0.6006 MB / 1.136 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.964, allocations: 159.5 kB / 1.136 GB, free: 6.785 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.9642, allocations: 149.3 kB / 1.136 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0009678/0.9652, allocations: 0.717 MB / 1.137 GB, free: 5.914 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.9652, allocations: 0 / 1.137 GB, free: 5.914 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.724e-06/0.9652, allocations: 4 kB / 1.137 GB, free: 5.91 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.9652, allocations: 0 / 1.137 GB, free: 5.91 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.001964/0.9672, allocations: 0.9195 MB / 1.138 GB, free: 4.941 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.9673, allocations: 8.031 kB / 1.138 GB, free: 4.934 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.9674, allocations: 78.53 kB / 1.138 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/0.9686, allocations: 234.9 kB / 1.138 GB, free: 4.617 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008675/0.9695, allocations: 0.5152 MB / 1.139 GB, free: 4.062 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.9696, allocations: 33 kB / 1.139 GB, free: 4.027 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.429e-05/0.9697, allocations: 40 kB / 1.139 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.9707, allocations: 0.5435 MB / 1.139 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.9707, allocations: 3.938 kB / 1.139 GB, free: 3.422 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.847e-05/0.9708, allocations: 16 kB / 1.139 GB, free: 3.406 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/0.9708, allocations: 20.95 kB / 1.139 GB, free: 3.387 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.9719, allocations: 0.5074 MB / 1.14 GB, free: 2.879 MB / 0.8887 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.003036/0.975, allocations: 2.206 MB / 1.142 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006703/0.9756, allocations: 371.9 kB / 1.142 GB, free: 112 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/0.9768, allocations: 0.5962 MB / 1.143 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003482/0.9771, allocations: 214.2 kB / 1.143 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=28): time 1.944e-06/0.9771, allocations: 0 / 1.143 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28): time 0.001089/0.9782, allocations: 449.9 kB / 1.144 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.9783, allocations: 106.8 kB / 1.144 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00086/0.9792, allocations: 0.6524 MB / 1.144 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.9792, allocations: 33.7 kB / 1.144 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/0.9795, allocations: 319.8 kB / 1.145 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.112e-05/0.9796, allocations: 94.66 kB / 1.145 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.9797, allocations: 12 kB / 1.145 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.9798, allocations: 370.8 kB / 1.145 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.9802, allocations: 132.8 kB / 1.145 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004576/0.9807, allocations: 294.3 kB / 1.146 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004058/0.9811, allocations: 173.4 kB / 1.146 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.9811, allocations: 4 kB / 1.146 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009763/0.9821, allocations: 490.5 kB / 1.146 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006427/0.9827, allocations: 1.582 MB / 1.148 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.9827, allocations: 4 kB / 1.148 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.9828, allocations: 4 kB / 1.148 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004253/0.9832, allocations: 95.88 kB / 1.148 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.9832, allocations: 7.938 kB / 1.148 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006631/0.9839, allocations: 87.48 kB / 1.148 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.125e-05/0.984, allocations: 23.98 kB / 1.148 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/0.984, allocations: 4 kB / 1.148 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008929/0.9849, allocations: 404 kB / 1.148 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.9849, allocations: 8.406 kB / 1.148 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.9849, allocations: 12 kB / 1.148 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003824/0.9853, allocations: 91.83 kB / 1.148 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.9853, allocations: 11.94 kB / 1.148 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004984/0.9858, allocations: 79.56 kB / 1.149 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.9859, allocations: 20 kB / 1.149 GB, free: 9.426 MB / 0.9044 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.0003459/0.9862, allocations: 286.2 kB / 1.149 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.427e-05/0.9863, allocations: 59.81 kB / 1.149 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006084/0.9869, allocations: 334.5 kB / 1.149 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.9869, allocations: 7.984 kB / 1.149 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.9869, allocations: 0 / 1.149 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.987, allocations: 7.953 kB / 1.149 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.9885, allocations: 1.18 MB / 1.15 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.9885, allocations: 320 / 1.15 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.9888, allocations: 51.86 kB / 1.15 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.9888, allocations: 8 kB / 1.15 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.9888, allocations: 8 kB / 1.15 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.9888, allocations: 4 kB / 1.15 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.9888, allocations: 4 kB / 1.15 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008645/0.9897, allocations: 0.7306 MB / 1.151 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/0.9899, allocations: 168.2 kB / 1.151 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.039e-05/0.99, allocations: 12.02 kB / 1.151 GB, free: 6.348 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.9904, allocations: 27.97 kB / 1.151 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.9904, allocations: 23.92 kB / 1.151 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.9905, allocations: 19.98 kB / 1.151 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006272/0.9911, allocations: 467 kB / 1.152 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9911, allocations: 0 / 1.152 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008917/0.992, allocations: 279.5 kB / 1.152 GB, free: 5.551 MB / 0.9044 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.002594/0.9946, allocations: 2.378 MB / 1.154 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001693/0.9963, allocations: 0.5111 MB / 1.155 GB, free: 2.738 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.9963, allocations: 1.062 kB / 1.155 GB, free: 2.738 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003211/0.9967, allocations: 137.8 kB / 1.155 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.9981, allocations: 263.9 kB / 1.155 GB, free: 2.352 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006379/1.005, allocations: 6.035 MB / 1.161 GB, free: 12.16 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004822/1.005, allocations: 0.9136 MB / 1.162 GB, free: 11.22 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007346/1.006, allocations: 164.9 kB / 1.162 GB, free: 11.06 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002706/1.006, allocations: 199.4 kB / 1.162 GB, free: 10.86 MB / 0.92 GB Notification: Performance of SimCode: time 9.92e-07/1.006, allocations: 0 / 1.162 GB, free: 10.86 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3337/1.34, allocations: 15.75 MB / 1.178 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002866/1.34, allocations: 235.5 kB / 1.178 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.528/3.869, allocations: 0 / 1.178 GB, free: 11.22 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.fmu > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat does not exist to compare? outputFormat=mat