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.001031/0.001031, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 197 kB / 16.53 MB, free: 6.664 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.24/1.24, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001998/0.001998, allocations: 287 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9122/0.9122, allocations: 169.3 MB / 0.4982 GB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 99.16 kB / 0.5953 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1339, allocations: 86.98 MB / 0.6803 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.46/0.594, allocations: 221.9 MB / 0.8969 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01683/0.6108, allocations: 13.75 MB / 0.9104 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/0.613, allocations: 66.38 kB / 0.9104 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.6149, allocations: 0.8084 MB / 0.9112 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004961/0.6199, allocations: 2.157 MB / 0.9133 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002866/0.6228, allocations: 1.173 MB / 0.9145 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003435/0.6263, allocations: 2.898 MB / 0.9173 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.6276, allocations: 1.194 MB / 0.9185 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005226/0.6328, allocations: 2.436 MB / 0.9209 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001835/0.6347, allocations: 1.014 MB / 0.9218 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002129/0.6349, allocations: 104 kB / 0.9219 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002836/0.6378, allocations: 1.578 MB / 0.9235 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004101/0.6382, allocations: 442.6 kB / 0.9239 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00071/0.6389, allocations: 0.6801 MB / 0.9246 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002482/0.6414, allocations: 2.049 MB / 0.9266 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.6414, allocations: 0 / 0.9266 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6414, allocations: 0 / 0.9266 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.525e-05/0.6414, allocations: 0 / 0.9266 GB, free: 11.09 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.002191/0.6436, allocations: 1.655 MB / 0.9282 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.6437, allocations: 12.03 kB / 0.9282 GB, free: 9.375 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001556/0.6438, allocations: 154.1 kB / 0.9283 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002102/0.6459, allocations: 429.8 kB / 0.9288 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.6472, allocations: 0.8857 MB / 0.9296 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009256/0.6481, allocations: 241.7 kB / 0.9299 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.6482, allocations: 88 kB / 0.9299 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.6502, allocations: 1.231 MB / 0.9311 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.6502, allocations: 3.938 kB / 0.9311 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.37e-05/0.6503, allocations: 40 kB / 0.9312 GB, free: 6.152 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.172e-05/0.6504, allocations: 41.3 kB / 0.9312 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/0.6524, allocations: 0.8992 MB / 0.9321 GB, free: 5.215 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.006278/0.6587, allocations: 6.074 MB / 0.938 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/0.6591, allocations: 263.7 kB / 0.9383 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.6593, allocations: 153 kB / 0.9384 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001597/0.6595, allocations: 97.09 kB / 0.9385 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.6595, allocations: 38.56 kB / 0.9386 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006013/0.6601, allocations: 123 kB / 0.9387 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 2.254e-06/0.6601, allocations: 0 / 0.9387 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.001118/0.6612, allocations: 476.4 kB / 0.9391 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.6613, allocations: 188 kB / 0.9393 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.6631, allocations: 1.327 MB / 0.9406 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.6632, allocations: 33.7 kB / 0.9406 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/0.6636, allocations: 0.6242 MB / 0.9412 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.828e-05/0.6637, allocations: 75 kB / 0.9413 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.6638, allocations: 134 kB / 0.9414 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.882e-05/0.664, allocations: 330 kB / 0.9418 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007244/0.6647, allocations: 252.9 kB / 0.942 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009176/0.6656, allocations: 0.5714 MB / 0.9426 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.6668, allocations: 0.7048 MB / 0.9432 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.6668, allocations: 4 kB / 0.9433 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00198/0.6688, allocations: 0.8868 MB / 0.9441 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.6688, allocations: 8 kB / 0.9441 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.6688, allocations: 12 kB / 0.9441 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.6688, allocations: 12 kB / 0.9441 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007265/0.6696, allocations: 178.1 kB / 0.9443 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/0.6696, allocations: 23.92 kB / 0.9443 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.6709, allocations: 151.8 kB / 0.9445 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.95e-05/0.671, allocations: 35.98 kB / 0.9445 GB, free: 7.719 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (69): * Single equations (assignments): 69 * 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.0003516/0.6713, allocations: 298.8 kB / 0.9448 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/0.6716, allocations: 126.4 kB / 0.9449 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004434/0.672, allocations: 288.3 kB / 0.9452 GB, free: 7.004 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.672, allocations: 4 kB / 0.9452 GB, free: 7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.672, allocations: 3.984 kB / 0.9452 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.6721, allocations: 3.938 kB / 0.9452 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.674, allocations: 1.678 MB / 0.9469 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.674, allocations: 0 / 0.9469 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.6742, allocations: 39.92 kB / 0.9469 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.6742, allocations: 4 kB / 0.9469 GB, free: 5.168 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.6743, allocations: 8 kB / 0.9469 GB, free: 5.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.6743, allocations: 7.984 kB / 0.9469 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.6743, allocations: 7.938 kB / 0.9469 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004944/0.6748, allocations: 496.9 kB / 0.9474 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002951/0.6751, allocations: 241 kB / 0.9476 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.6752, allocations: 11.94 kB / 0.9476 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007582/0.676, allocations: 55.94 kB / 0.9477 GB, free: 4.285 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.6761, allocations: 19.92 kB / 0.9477 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.6761, allocations: 19.94 kB / 0.9477 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001426/0.6775, allocations: 0.9237 MB / 0.9486 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6775, allocations: 4 kB / 0.9486 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008377/0.6784, allocations: 287.5 kB / 0.9489 GB, free: 3.035 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.001088/0.6795, allocations: 1.129 MB / 0.95 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001079/0.6806, allocations: 483.1 kB / 0.9505 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6806, allocations: 0 / 0.9505 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.6807, allocations: 99.77 kB / 0.9506 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/0.6832, allocations: 0.5915 MB / 0.9511 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/0.6959, allocations: 8.753 MB / 0.9597 GB, free: 7.316 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006816/0.6966, allocations: 1.118 MB / 0.9608 GB, free: 6.168 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008759/0.6975, allocations: 233.6 kB / 0.961 GB, free: 5.938 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004753/0.6979, allocations: 415.3 kB / 0.9614 GB, free: 5.531 MB / 0.67 GB Notification: Performance of SimCode: time 6.51e-07/0.698, allocations: 7.938 kB / 0.9614 GB, free: 5.523 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04958/0.7475, allocations: 27.39 MB / 0.9881 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.407/8.155, allocations: 13.52 kB / 0.9882 GB, free: 10.64 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)