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.001511/0.001511, 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.001749/0.001749, allocations: 194.3 kB / 16.25 MB, free: 6.625 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.58/1.58, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00219/0.00219, allocations: 290.9 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.96/0.96, allocations: 169.2 MB / 0.4978 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 91.55 kB / 0.5947 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1542, allocations: 86.99 MB / 0.6796 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5484/0.7026, allocations: 218.3 MB / 0.8928 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009097/0.7118, allocations: 5.689 MB / 0.8984 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.7135, allocations: 35.66 kB / 0.8984 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.7151, allocations: 0.5225 MB / 0.8989 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005269/0.7204, allocations: 1.727 MB / 0.9006 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003279/0.7237, allocations: 1.084 MB / 0.9017 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004049/0.7278, allocations: 2.948 MB / 0.9045 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/0.7294, allocations: 1.01 MB / 0.9055 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002299/0.7317, allocations: 1.074 MB / 0.9066 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00267/0.7344, allocations: 1.008 MB / 0.9076 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002516/0.7346, allocations: 112 kB / 0.9077 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003027/0.7377, allocations: 1.496 MB / 0.9091 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004987/0.7382, allocations: 466.8 kB / 0.9096 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008263/0.739, allocations: 0.6534 MB / 0.9102 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003339/0.7424, allocations: 2.216 MB / 0.9124 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.7424, allocations: 4 kB / 0.9124 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7424, allocations: 0 / 0.9124 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.833e-05/0.7424, allocations: 0 / 0.9124 GB, free: 9.652 MB / 0.6231 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.002416/0.7448, allocations: 1.508 MB / 0.9138 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.7449, allocations: 16.03 kB / 0.9139 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/0.7469, allocations: 322.2 kB / 0.9142 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.7483, allocations: 0.8124 MB / 0.915 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.037e-05/0.7484, allocations: 62 kB / 0.915 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.7485, allocations: 88 kB / 0.9151 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.7501, allocations: 0.9131 MB / 0.916 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.7502, allocations: 3.906 kB / 0.916 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.985e-05/0.7503, allocations: 36 kB / 0.916 GB, free: 5.793 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.482e-05/0.7503, allocations: 37.98 kB / 0.9161 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.7518, allocations: 0.8392 MB / 0.9169 GB, free: 4.918 MB / 0.6231 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.005644/0.7575, allocations: 3.529 MB / 0.9203 GB, free: 1.168 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008069/0.7583, allocations: 493.1 kB / 0.9208 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004653/0.7588, allocations: 302.8 kB / 0.9211 GB, free: 392 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002143/0.759, allocations: 97.53 kB / 0.9212 GB, free: 276 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.7591, allocations: 50.91 kB / 0.9212 GB, free: 216 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.895e-06/0.7591, allocations: 0 / 0.9212 GB, free: 216 kB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.004036/0.7631, allocations: 1.88 MB / 0.9231 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.7632, allocations: 59.84 kB / 0.9231 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.7642, allocations: 0.8058 MB / 0.9239 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.49e-05/0.7643, allocations: 37.7 kB / 0.924 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003981/0.7647, allocations: 471.3 kB / 0.9244 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.7649, allocations: 181.5 kB / 0.9246 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.7651, allocations: 118.2 kB / 0.9247 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.7653, allocations: 326 kB / 0.925 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004311/0.7657, allocations: 249.2 kB / 0.9252 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005263/0.7662, allocations: 379.1 kB / 0.9256 GB, free: 11.55 MB / 0.6387 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.003594/0.7699, allocations: 1.551 MB / 0.9271 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.7699, allocations: 4 kB / 0.9271 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001372/0.7713, allocations: 0.7883 MB / 0.9279 GB, free: 9.133 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.7713, allocations: 8 kB / 0.9279 GB, free: 9.125 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.7713, allocations: 7.938 kB / 0.9279 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001837/0.7715, allocations: 70.08 kB / 0.928 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000694/0.7722, allocations: 147.7 kB / 0.9281 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002515/0.7747, allocations: 3.131 MB / 0.9312 GB, free: 5.492 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009831/0.7757, allocations: 63.81 kB / 0.9312 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-05/0.7758, allocations: 27.98 kB / 0.9313 GB, free: 5.402 MB / 0.6387 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.0004796/0.7763, allocations: 309.4 kB / 0.9315 GB, free: 5.094 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.7765, allocations: 86.97 kB / 0.9316 GB, free: 5.008 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.7767, allocations: 100.7 kB / 0.9317 GB, free: 4.906 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.7767, allocations: 8 kB / 0.9317 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7767, allocations: 0 / 0.9317 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001009/0.7777, allocations: 0.8387 MB / 0.9326 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002835/0.7806, allocations: 1.798 MB / 0.9343 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.7806, allocations: 4.938 kB / 0.9343 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006143/0.7812, allocations: 132.2 kB / 0.9344 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.182e-05/0.7813, allocations: 44.83 kB / 0.9345 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/0.7814, allocations: 12 kB / 0.9345 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.7826, allocations: 1.591 MB / 0.936 GB, free: 160 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.7826, allocations: 7.938 kB / 0.9361 GB, free: 152 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.7842, allocations: 1.064 MB / 0.9371 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004497/0.7846, allocations: 236 kB / 0.9373 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.7848, allocations: 15.98 kB / 0.9373 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007923/0.7856, allocations: 69.48 kB / 0.9374 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.7857, allocations: 35.95 kB / 0.9374 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.138e-05/0.7858, allocations: 27.98 kB / 0.9375 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008107/0.7866, allocations: 0.5615 MB / 0.938 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7866, allocations: 0 / 0.938 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009634/0.7876, allocations: 280 kB / 0.9383 GB, free: 13.8 MB / 0.6544 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.0004561/0.788, allocations: 197.9 kB / 0.9385 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001389/0.7894, allocations: 0.8705 MB / 0.9393 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.7895, allocations: 4 kB / 0.9393 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005574/0.79, allocations: 399.7 kB / 0.9397 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/0.7926, allocations: 0.5961 MB / 0.9403 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.7957, allocations: 2.186 MB / 0.9424 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006698/0.7964, allocations: 1.091 MB / 0.9435 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008925/0.7973, allocations: 215.7 kB / 0.9437 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.7975, allocations: 71.44 kB / 0.9438 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of SimCode: time 4.11e-07/0.7975, allocations: 0 / 0.9438 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of Templates: time 0.0328/0.8303, allocations: 19.86 MB / 0.9632 GB, free: 4.52 MB / 0.67 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)