Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",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.001207/0.001207, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001328/0.001329, allocations: 191.6 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001962/0.001962, allocations: 274.8 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9032/0.9032, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 97.59 kB / 0.5948 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1363, allocations: 86.98 MB / 0.6797 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.4724/0.6088, allocations: 219.1 MB / 0.8937 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01613/0.625, allocations: 13.66 MB / 0.907 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/0.6271, allocations: 58.97 kB / 0.9071 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001778/0.6289, allocations: 0.7085 MB / 0.9078 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00485/0.6338, allocations: 2.023 MB / 0.9098 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.6365, allocations: 1.071 MB / 0.9108 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003655/0.6402, allocations: 2.878 MB / 0.9136 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.6418, allocations: 1.163 MB / 0.9148 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005674/0.6475, allocations: 2.415 MB / 0.9171 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002682/0.6502, allocations: 1.084 MB / 0.9182 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002794/0.6505, allocations: 100 kB / 0.9183 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003011/0.6535, allocations: 1.676 MB / 0.9199 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005114/0.654, allocations: 438.6 kB / 0.9203 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.6551, allocations: 0.6879 MB / 0.921 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002803/0.6579, allocations: 2.154 MB / 0.9231 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.6579, allocations: 0 / 0.9231 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6579, allocations: 0 / 0.9231 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.6579, allocations: 0 / 0.9231 GB, free: 14.44 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.002163/0.6601, allocations: 1.663 MB / 0.9247 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.6601, allocations: 8.031 kB / 0.9247 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/0.6603, allocations: 147.5 kB / 0.9249 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/0.6624, allocations: 429.8 kB / 0.9253 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.6635, allocations: 0.8857 MB / 0.9261 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008621/0.6644, allocations: 245.7 kB / 0.9264 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.6645, allocations: 84 kB / 0.9265 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.6664, allocations: 1.206 MB / 0.9276 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.6664, allocations: 4 kB / 0.9276 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.449e-05/0.6665, allocations: 39.98 kB / 0.9277 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-05/0.6665, allocations: 35.5 kB / 0.9277 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.6684, allocations: 0.9064 MB / 0.9286 GB, free: 8.605 MB / 0.6387 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.005955/0.6744, allocations: 5.594 MB / 0.9341 GB, free: 2.746 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.6747, allocations: 259.7 kB / 0.9343 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.6749, allocations: 149 kB / 0.9344 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.6751, allocations: 101.1 kB / 0.9345 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.6751, allocations: 38.48 kB / 0.9346 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006482/0.6758, allocations: 143.1 kB / 0.9347 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=20): time 2.004e-06/0.6758, allocations: 0 / 0.9347 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of matching and sorting (n=20): time 0.001087/0.6769, allocations: 484.4 kB / 0.9352 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.018e-05/0.677, allocations: 183.9 kB / 0.9354 GB, free: 1.266 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.6787, allocations: 1.306 MB / 0.9366 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.6788, allocations: 29.7 kB / 0.9367 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004049/0.6792, allocations: 0.6127 MB / 0.9373 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.067e-05/0.6792, allocations: 82.98 kB / 0.9373 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.6794, allocations: 129.9 kB / 0.9375 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.985e-05/0.6795, allocations: 326 kB / 0.9378 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006658/0.6802, allocations: 248.9 kB / 0.938 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008354/0.6811, allocations: 0.5334 MB / 0.9385 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.6821, allocations: 0.6526 MB / 0.9392 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.6821, allocations: 3.938 kB / 0.9392 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001766/0.6839, allocations: 0.8495 MB / 0.94 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.6839, allocations: 8 kB / 0.94 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.6839, allocations: 11.98 kB / 0.94 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.684, allocations: 12 kB / 0.94 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006869/0.6846, allocations: 164.3 kB / 0.9402 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.6847, allocations: 15.94 kB / 0.9402 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.686, allocations: 192.3 kB / 0.9404 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.865e-05/0.6861, allocations: 31.98 kB / 0.9404 GB, free: 11.78 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 63 * 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.0003475/0.6864, allocations: 298.8 kB / 0.9407 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/0.6866, allocations: 118.5 kB / 0.9408 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004476/0.6871, allocations: 288.7 kB / 0.9411 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.6871, allocations: 0 / 0.9411 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.6871, allocations: 4 kB / 0.9411 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.6871, allocations: 3.938 kB / 0.9411 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.689, allocations: 1.706 MB / 0.9428 GB, free: 9.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.6891, allocations: 0 / 0.9428 GB, free: 9.258 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.6893, allocations: 39.92 kB / 0.9428 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.6893, allocations: 4 kB / 0.9428 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.6893, allocations: 8 kB / 0.9428 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.6893, allocations: 4.156 kB / 0.9428 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6893, allocations: 4 kB / 0.9428 GB, free: 9.199 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004873/0.6898, allocations: 494.6 kB / 0.9433 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.6901, allocations: 239.7 kB / 0.9435 GB, free: 8.406 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.6903, allocations: 8 kB / 0.9435 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000752/0.691, allocations: 68.75 kB / 0.9436 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.6911, allocations: 27.84 kB / 0.9436 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.6911, allocations: 15.98 kB / 0.9436 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001326/0.6924, allocations: 0.9195 MB / 0.9445 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6924, allocations: 0 / 0.9445 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007642/0.6932, allocations: 275.5 kB / 0.9448 GB, free: 7.098 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.001005/0.6942, allocations: 1.134 MB / 0.9459 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001/0.6952, allocations: 466.9 kB / 0.9463 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6952, allocations: 0 / 0.9463 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.6954, allocations: 105.2 kB / 0.9464 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/0.6977, allocations: 0.5854 MB / 0.947 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/0.7097, allocations: 8.922 MB / 0.9557 GB, free: 11.25 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005818/0.7103, allocations: 1.118 MB / 0.9568 GB, free: 10.11 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007944/0.7111, allocations: 229.3 kB / 0.957 GB, free: 9.879 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004465/0.7115, allocations: 419.3 kB / 0.9574 GB, free: 9.469 MB / 0.67 GB Notification: Performance of SimCode: time 1.613e-06/0.7115, allocations: 4 kB / 0.9574 GB, free: 9.465 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.771/2.483, allocations: 27.07 MB / 0.9839 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003343/2.483, allocations: 302.1 kB / 0.9842 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.673/5.157, allocations: 3.938 kB / 0.9842 GB, free: 14.55 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)