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.001145/0.001145, allocations: 108 kB / 15.6 MB, free: 132 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.001115/0.001115, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.163/1.163, 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.002115/0.002115, allocations: 287 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9143/0.9143, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 95.81 kB / 0.5953 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1285, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.4626/0.5912, allocations: 221.9 MB / 0.8969 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01761/0.6088, allocations: 13.77 MB / 0.9104 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002337/0.6112, allocations: 66.12 kB / 0.9104 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002095/0.6133, allocations: 0.8012 MB / 0.9112 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005246/0.6186, allocations: 2.157 MB / 0.9133 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003085/0.6217, allocations: 1.176 MB / 0.9145 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003549/0.6252, allocations: 2.887 MB / 0.9173 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.6268, allocations: 1.205 MB / 0.9185 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005344/0.6321, allocations: 2.432 MB / 0.9209 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002101/0.6342, allocations: 1.018 MB / 0.9218 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003734/0.6346, allocations: 103.9 kB / 0.9219 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00331/0.6379, allocations: 1.586 MB / 0.9235 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005361/0.6385, allocations: 438.6 kB / 0.9239 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009806/0.6395, allocations: 0.684 MB / 0.9246 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00294/0.6424, allocations: 2.041 MB / 0.9266 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6424, allocations: 0 / 0.9266 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6424, allocations: 4 kB / 0.9266 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.6425, allocations: 0 / 0.9266 GB, free: 11.01 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.00222/0.6447, allocations: 1.661 MB / 0.9282 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.6447, allocations: 8.031 kB / 0.9282 GB, free: 9.289 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001463/0.6449, allocations: 143.5 kB / 0.9283 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/0.6469, allocations: 437.8 kB / 0.9288 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.6482, allocations: 0.8857 MB / 0.9296 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009195/0.6491, allocations: 241.7 kB / 0.9299 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.6492, allocations: 88 kB / 0.9299 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.6512, allocations: 1.231 MB / 0.9311 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.6512, allocations: 7.938 kB / 0.9312 GB, free: 6.102 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.947e-05/0.6513, allocations: 36 kB / 0.9312 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.945e-05/0.6513, allocations: 37.3 kB / 0.9312 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/0.6533, allocations: 0.9031 MB / 0.9321 GB, free: 5.129 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.006489/0.6598, allocations: 6.07 MB / 0.938 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/0.6603, allocations: 263.7 kB / 0.9383 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.6605, allocations: 153 kB / 0.9384 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.6606, allocations: 97.11 kB / 0.9385 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.6607, allocations: 42.55 kB / 0.9386 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006254/0.6613, allocations: 119 kB / 0.9387 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 2.966e-06/0.6613, allocations: 0 / 0.9387 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.001168/0.6625, allocations: 472.7 kB / 0.9391 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.219e-05/0.6626, allocations: 187.9 kB / 0.9393 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/0.6645, allocations: 1.319 MB / 0.9406 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.6645, allocations: 33.64 kB / 0.9406 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004409/0.665, allocations: 0.6281 MB / 0.9412 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.444e-05/0.6651, allocations: 75 kB / 0.9413 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.6653, allocations: 138 kB / 0.9414 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.6654, allocations: 330 kB / 0.9418 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007524/0.6662, allocations: 253.9 kB / 0.942 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009384/0.6671, allocations: 0.5714 MB / 0.9426 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.6683, allocations: 0.7037 MB / 0.9432 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/0.6683, allocations: 4 kB / 0.9432 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00207/0.6704, allocations: 0.8824 MB / 0.9441 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.6704, allocations: 12 kB / 0.9441 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.6704, allocations: 8 kB / 0.9441 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.6705, allocations: 19.94 kB / 0.9441 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007641/0.6713, allocations: 176.3 kB / 0.9443 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/0.6713, allocations: 24.98 kB / 0.9443 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.6726, allocations: 158.6 kB / 0.9445 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.087e-05/0.6727, allocations: 39.98 kB / 0.9445 GB, free: 7.629 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.0003481/0.673, allocations: 302.8 kB / 0.9448 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002463/0.6733, allocations: 122.5 kB / 0.9449 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004624/0.6738, allocations: 276.4 kB / 0.9452 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.6738, allocations: 4 kB / 0.9452 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.6738, allocations: 7.938 kB / 0.9452 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.6738, allocations: 11.92 kB / 0.9452 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.6758, allocations: 1.67 MB / 0.9469 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.6758, allocations: 4.875 kB / 0.9469 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.6761, allocations: 39.92 kB / 0.9469 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.6761, allocations: 4 kB / 0.9469 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.6761, allocations: 4 kB / 0.9469 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.6761, allocations: 11.98 kB / 0.9469 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.6761, allocations: 8.25 kB / 0.9469 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005022/0.6766, allocations: 0.4926 MB / 0.9474 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003057/0.6769, allocations: 239.5 kB / 0.9476 GB, free: 4.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.6771, allocations: 4 kB / 0.9476 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007621/0.6779, allocations: 55.94 kB / 0.9477 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.6779, allocations: 23.92 kB / 0.9477 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.6779, allocations: 8.234 kB / 0.9477 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001477/0.6794, allocations: 0.9315 MB / 0.9486 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6794, allocations: 0 / 0.9486 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008115/0.6803, allocations: 279.5 kB / 0.9489 GB, free: 2.961 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.001064/0.6813, allocations: 1.13 MB / 0.95 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001101/0.6824, allocations: 482.8 kB / 0.9505 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6825, allocations: 4 kB / 0.9505 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.6826, allocations: 101.1 kB / 0.9506 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/0.6851, allocations: 0.5892 MB / 0.9511 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.6973, allocations: 8.756 MB / 0.9597 GB, free: 7.23 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006506/0.6979, allocations: 1.126 MB / 0.9608 GB, free: 6.074 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008448/0.6988, allocations: 241.6 kB / 0.961 GB, free: 5.836 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004762/0.6993, allocations: 415.3 kB / 0.9614 GB, free: 5.43 MB / 0.67 GB Notification: Performance of SimCode: time 4.31e-07/0.6993, allocations: 0 / 0.9614 GB, free: 5.43 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2651/0.9644, allocations: 27.38 MB / 0.9882 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.823/8.788, allocations: 6.844 kB / 0.9882 GB, free: 10.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)