Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001399/0.001399, allocations: 189.3 kB / 16.25 MB, free: 6.621 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.476/1.476, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002624/0.002624, allocations: 294.8 kB / 290.4 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.101/1.101, allocations: 178.6 MB / 0.507 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003681/0.003681, allocations: 103.5 kB / 0.6059 GB, free: 25.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.2023, allocations: 89.15 MB / 0.693 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5875/0.7898, allocations: 218.3 MB / 0.9062 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01032/0.8002, allocations: 5.69 MB / 0.9117 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001479/0.8017, allocations: 35.81 kB / 0.9118 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001542/0.8032, allocations: 0.513 MB / 0.9123 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004674/0.808, allocations: 1.735 MB / 0.914 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003087/0.8111, allocations: 1.09 MB / 0.915 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003979/0.815, allocations: 2.952 MB / 0.9179 GB, free: 5.746 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.8165, allocations: 1.019 MB / 0.9189 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002108/0.8186, allocations: 1.062 MB / 0.9199 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002749/0.8214, allocations: 1.001 MB / 0.9209 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002079/0.8216, allocations: 112 kB / 0.921 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003033/0.8246, allocations: 1.5 MB / 0.9225 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005379/0.8252, allocations: 462.8 kB / 0.9229 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008519/0.8261, allocations: 0.6612 MB / 0.9236 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002951/0.829, allocations: 2.208 MB / 0.9257 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.829, allocations: 7.938 kB / 0.9257 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.132e-06/0.829, allocations: 0 / 0.9257 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.88e-05/0.8291, allocations: 0 / 0.9257 GB, free: 13.7 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002593/0.8317, allocations: 1.508 MB / 0.9272 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.8317, allocations: 16.03 kB / 0.9272 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/0.8338, allocations: 318.3 kB / 0.9275 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.8351, allocations: 0.8123 MB / 0.9283 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.404e-05/0.8352, allocations: 62 kB / 0.9284 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.8354, allocations: 87.98 kB / 0.9285 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.8371, allocations: 0.917 MB / 0.9294 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.8371, allocations: 0 / 0.9294 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.45e-05/0.8372, allocations: 36 kB / 0.9294 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.105e-05/0.8373, allocations: 34 kB / 0.9294 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001589/0.8389, allocations: 0.8392 MB / 0.9302 GB, free: 8.98 MB / 0.6544 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.005757/0.8446, allocations: 3.532 MB / 0.9337 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008601/0.8455, allocations: 492.2 kB / 0.9342 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004796/0.846, allocations: 302 kB / 0.9345 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/0.8462, allocations: 101.5 kB / 0.9345 GB, free: 4.328 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.8463, allocations: 47 kB / 0.9346 GB, free: 4.273 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=47): time 1.893e-06/0.8463, allocations: 4 kB / 0.9346 GB, free: 4.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.003741/0.85, allocations: 1.872 MB / 0.9364 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.8501, allocations: 63.78 kB / 0.9365 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.8511, allocations: 0.8097 MB / 0.9373 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-05/0.8512, allocations: 37.7 kB / 0.9373 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004206/0.8516, allocations: 471.3 kB / 0.9378 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/0.8518, allocations: 181.5 kB / 0.9379 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.8521, allocations: 118.2 kB / 0.938 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.8522, allocations: 330 kB / 0.9384 GB, free: 276 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004692/0.8527, allocations: 241.2 kB / 0.9386 GB, free: 36 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006109/0.8533, allocations: 380.8 kB / 0.939 GB, free: 15.61 MB / 0.67 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003861/0.8572, allocations: 1.547 MB / 0.9405 GB, free: 14.01 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.8572, allocations: 5.25 kB / 0.9405 GB, free: 14 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001453/0.8587, allocations: 0.7922 MB / 0.9412 GB, free: 13.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.8587, allocations: 8 kB / 0.9413 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.8587, allocations: 4 kB / 0.9413 GB, free: 13.19 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001717/0.8589, allocations: 74.02 kB / 0.9413 GB, free: 13.11 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006913/0.8596, allocations: 143.8 kB / 0.9415 GB, free: 12.97 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003214/0.8628, allocations: 3.123 MB / 0.9445 GB, free: 9.566 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.864, allocations: 64.83 kB / 0.9446 GB, free: 9.504 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.619e-05/0.864, allocations: 24 kB / 0.9446 GB, free: 9.48 MB / 0.67 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (71): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000657/0.8647, allocations: 309.5 kB / 0.9449 GB, free: 9.172 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.8649, allocations: 94.84 kB / 0.945 GB, free: 9.078 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.8651, allocations: 100.7 kB / 0.9451 GB, free: 8.98 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.8651, allocations: 8 kB / 0.9451 GB, free: 8.973 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.8651, allocations: 0.5 kB / 0.9451 GB, free: 8.973 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001247/0.8664, allocations: 0.8349 MB / 0.9459 GB, free: 8.051 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003203/0.8696, allocations: 1.795 MB / 0.9477 GB, free: 6.16 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.8696, allocations: 4 kB / 0.9477 GB, free: 6.156 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006221/0.8702, allocations: 133.5 kB / 0.9478 GB, free: 6.027 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001133/0.8704, allocations: 44.77 kB / 0.9478 GB, free: 5.98 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.662e-05/0.8704, allocations: 12 kB / 0.9478 GB, free: 5.969 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.8719, allocations: 1.595 MB / 0.9494 GB, free: 4.238 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.8719, allocations: 7.938 kB / 0.9494 GB, free: 4.23 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.8737, allocations: 1.057 MB / 0.9504 GB, free: 3.113 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004688/0.8742, allocations: 239.9 kB / 0.9507 GB, free: 2.859 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.8743, allocations: 16 kB / 0.9507 GB, free: 2.844 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007673/0.8751, allocations: 71.86 kB / 0.9508 GB, free: 2.773 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.8752, allocations: 39.89 kB / 0.9508 GB, free: 2.734 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.616e-05/0.8753, allocations: 31.98 kB / 0.9508 GB, free: 2.703 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007924/0.8761, allocations: 0.5576 MB / 0.9514 GB, free: 2.148 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8761, allocations: 0 / 0.9514 GB, free: 2.148 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009857/0.8771, allocations: 284 kB / 0.9516 GB, free: 1.871 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004752/0.8775, allocations: 193 kB / 0.9518 GB, free: 1.68 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001596/0.8792, allocations: 0.8669 MB / 0.9527 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.8792, allocations: 4 kB / 0.9527 GB, free: 0.7812 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006227/0.8798, allocations: 407.5 kB / 0.9531 GB, free: 380 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/0.8824, allocations: 0.5995 MB / 0.9536 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/0.8858, allocations: 2.184 MB / 0.9558 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008624/0.8867, allocations: 1.095 MB / 0.9568 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000908/0.8876, allocations: 215.7 kB / 0.9571 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.8878, allocations: 67.44 kB / 0.9571 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of SimCode: time 4.91e-07/0.8878, allocations: 0 / 0.9571 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of Templates: time 0.0354/0.9232, allocations: 19.88 MB / 0.9765 GB, free: 8.57 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)