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.0008549/0.0008549, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006869/0.006869, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.377/1.377, allocations: 223.2 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002441/0.002442, allocations: 271 kB / 291.7 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8632/0.8632, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003642, allocations: 13.97 kB / 0.5988 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1263, allocations: 88.55 MB / 0.6852 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.4266/0.5529, allocations: 216.7 MB / 0.8968 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01519/0.5681, allocations: 13.69 MB / 0.9102 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007225/0.5689, allocations: 51.69 kB / 0.9102 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.5703, allocations: 0.6838 MB / 0.9109 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003559/0.5739, allocations: 2.036 MB / 0.9129 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.5758, allocations: 1.049 MB / 0.9139 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003265/0.5791, allocations: 4.024 MB / 0.9179 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.5802, allocations: 0.999 MB / 0.9188 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003937/0.5841, allocations: 2.199 MB / 0.921 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.5861, allocations: 1.01 MB / 0.922 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.5862, allocations: 48 kB / 0.922 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002289/0.5885, allocations: 1.831 MB / 0.9238 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003055/0.5888, allocations: 370.6 kB / 0.9241 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005/0.5893, allocations: 0.6349 MB / 0.9248 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.5912, allocations: 2.083 MB / 0.9268 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.5912, allocations: 0 / 0.9268 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5912, allocations: 0 / 0.9268 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.5912, allocations: 0 / 0.9268 GB, free: 8.359 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.001806/0.593, allocations: 1.414 MB / 0.9282 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.5931, allocations: 8.031 kB / 0.9282 GB, free: 6.887 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001399/0.5932, allocations: 147.5 kB / 0.9283 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001974/0.5952, allocations: 477.8 kB / 0.9288 GB, free: 6.266 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.5963, allocations: 0.8896 MB / 0.9297 GB, free: 5.332 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008579/0.5972, allocations: 273.8 kB / 0.9299 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.5973, allocations: 84 kB / 0.93 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.5991, allocations: 1.222 MB / 0.9312 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.5992, allocations: 0 / 0.9312 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-05/0.5992, allocations: 40 kB / 0.9312 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.749e-05/0.5993, allocations: 33.31 kB / 0.9313 GB, free: 3.59 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/0.6011, allocations: 0.9299 MB / 0.9322 GB, free: 2.66 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.005667/0.6068, allocations: 5.637 MB / 0.9377 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/0.6072, allocations: 255.7 kB / 0.9379 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.6074, allocations: 149.1 kB / 0.9381 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/0.6075, allocations: 105 kB / 0.9382 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.6076, allocations: 38.56 kB / 0.9382 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005524/0.6081, allocations: 131.1 kB / 0.9383 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.412e-06/0.6081, allocations: 4 kB / 0.9383 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.0009925/0.6091, allocations: 464.4 kB / 0.9388 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/0.6092, allocations: 183.9 kB / 0.9389 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.611, allocations: 1.322 MB / 0.9402 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.611, allocations: 29.7 kB / 0.9403 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004062/0.6114, allocations: 0.6127 MB / 0.9409 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/0.6115, allocations: 71.09 kB / 0.9409 GB, free: 9.238 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.355e-05/0.6115, allocations: 45.7 kB / 0.941 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.515e-05/0.6116, allocations: 326 kB / 0.9413 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006706/0.6123, allocations: 256.9 kB / 0.9415 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000832/0.6132, allocations: 0.5498 MB / 0.9421 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.6142, allocations: 0.647 MB / 0.9427 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.6142, allocations: 4 kB / 0.9427 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00174/0.6159, allocations: 0.8641 MB / 0.9435 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.616, allocations: 11.19 kB / 0.9436 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.616, allocations: 12 kB / 0.9436 GB, free: 6.262 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.616, allocations: 16 kB / 0.9436 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/0.6166, allocations: 179.6 kB / 0.9438 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.6167, allocations: 15.94 kB / 0.9438 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.6179, allocations: 212 kB / 0.944 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.147e-05/0.618, allocations: 39.98 kB / 0.944 GB, free: 5.809 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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.0003127/0.6183, allocations: 295.5 kB / 0.9443 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.6185, allocations: 118.5 kB / 0.9444 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004152/0.6189, allocations: 276.1 kB / 0.9447 GB, free: 5.117 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.6189, allocations: 4 kB / 0.9447 GB, free: 5.113 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.619, allocations: 4 kB / 0.9447 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.619, allocations: 3.938 kB / 0.9447 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.6208, allocations: 1.682 MB / 0.9463 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6208, allocations: 0 / 0.9463 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.621, allocations: 39.92 kB / 0.9464 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.621, allocations: 4 kB / 0.9464 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.621, allocations: 8 kB / 0.9464 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.621, allocations: 7.938 kB / 0.9464 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.621, allocations: 8 kB / 0.9464 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004404/0.6215, allocations: 496.1 kB / 0.9469 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/0.6218, allocations: 239.7 kB / 0.9471 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.6219, allocations: 15.94 kB / 0.9471 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007362/0.6226, allocations: 75.92 kB / 0.9472 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.6227, allocations: 27.84 kB / 0.9472 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.6227, allocations: 12 kB / 0.9472 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001344/0.6241, allocations: 0.9271 MB / 0.9481 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6241, allocations: 0 / 0.9481 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006868/0.6248, allocations: 279.5 kB / 0.9484 GB, free: 1.129 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.0009376/0.6257, allocations: 1.126 MB / 0.9495 GB, free: 15.94 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009514/0.6267, allocations: 454.7 kB / 0.9499 GB, free: 15.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.6267, allocations: 0 / 0.9499 GB, free: 15.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.6268, allocations: 113.1 kB / 0.95 GB, free: 15.39 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002755/0.6296, allocations: 0.5569 MB / 0.9506 GB, free: 14.85 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/0.6412, allocations: 8.978 MB / 0.9593 GB, free: 5.258 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/0.6418, allocations: 1.122 MB / 0.9604 GB, free: 4.105 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006649/0.6424, allocations: 217.3 kB / 0.9606 GB, free: 3.891 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004362/0.6429, allocations: 411.3 kB / 0.961 GB, free: 3.492 MB / 0.67 GB Notification: Performance of SimCode: time 3.41e-07/0.6429, allocations: 0 / 0.961 GB, free: 3.492 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.238/3.881, allocations: 25.99 MB / 0.9864 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003863/3.881, allocations: 286.6 kB / 0.9867 GB, free: 9.656 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/6.227, allocations: 0 / 0.9867 GB, free: 9.656 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)