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.005011/0.005011, allocations: 99.14 kB / 15.73 MB, free: 6.035 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.001055/0.001056, allocations: 194.6 kB / 16.67 MB, free: 5.965 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001966/0.001966, allocations: 275 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9225/0.9225, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 103.8 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1586, allocations: 86.98 MB / 0.7664 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5449/0.7036, allocations: 221.1 MB / 0.9823 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009051/0.7127, allocations: 5.732 MB / 0.9879 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.7138, allocations: 47.75 kB / 0.9879 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.7152, allocations: 0.5786 MB / 0.9885 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00406/0.7193, allocations: 1.839 MB / 0.9903 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002758/0.7221, allocations: 1.197 MB / 0.9915 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003249/0.7253, allocations: 2.962 MB / 0.9944 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.7265, allocations: 1.014 MB / 0.9953 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.7281, allocations: 1.086 MB / 0.9964 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.7297, allocations: 0.9476 MB / 0.9973 GB, free: 6.145 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.7299, allocations: 112 kB / 0.9974 GB, free: 6.035 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002574/0.7325, allocations: 1.43 MB / 0.9988 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004153/0.7329, allocations: 458.8 kB / 0.9993 GB, free: 4.152 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000646/0.7335, allocations: 0.6572 MB / 0.9999 GB, free: 3.492 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002506/0.7361, allocations: 2.131 MB / 1.002 GB, free: 1.355 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.7361, allocations: 0 / 1.002 GB, free: 1.355 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7361, allocations: 3.938 kB / 1.002 GB, free: 1.352 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.7361, allocations: 0 / 1.002 GB, free: 1.352 MB / 0.7481 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.002213/0.7383, allocations: 1.507 MB / 1.003 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.7384, allocations: 16.02 kB / 1.003 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/0.7402, allocations: 310.3 kB / 1.004 GB, free: 15.47 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.7416, allocations: 0.8591 MB / 1.005 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.275e-05/0.7416, allocations: 69.98 kB / 1.005 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.7418, allocations: 84 kB / 1.005 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.7432, allocations: 0.9053 MB / 1.006 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.7432, allocations: 3.938 kB / 1.006 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.389e-05/0.7433, allocations: 40 kB / 1.006 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.463e-05/0.7434, allocations: 37.98 kB / 1.006 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.7446, allocations: 0.8353 MB / 1.007 GB, free: 12.59 MB / 0.7637 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.004702/0.7493, allocations: 3.513 MB / 1.01 GB, free: 8.855 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007122/0.7501, allocations: 484.4 kB / 1.01 GB, free: 8.375 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004116/0.7505, allocations: 300.5 kB / 1.011 GB, free: 8.082 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000169/0.7507, allocations: 105.5 kB / 1.011 GB, free: 7.961 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.7507, allocations: 42.94 kB / 1.011 GB, free: 7.906 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=47): time 2.044e-06/0.7507, allocations: 0 / 1.011 GB, free: 7.906 MB / 0.7637 GB Notification: Performance of matching and sorting (n=49): time 0.003183/0.7539, allocations: 1.88 MB / 1.013 GB, free: 5.93 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.754, allocations: 63.84 kB / 1.013 GB, free: 5.855 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008424/0.7548, allocations: 0.8019 MB / 1.014 GB, free: 5.043 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/0.7549, allocations: 41.64 kB / 1.014 GB, free: 4.996 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002955/0.7552, allocations: 483.2 kB / 1.014 GB, free: 4.52 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.7553, allocations: 173.5 kB / 1.014 GB, free: 4.348 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.7555, allocations: 118.2 kB / 1.014 GB, free: 4.227 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.912e-05/0.7556, allocations: 326 kB / 1.015 GB, free: 3.902 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.756, allocations: 253.2 kB / 1.015 GB, free: 3.652 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004751/0.7565, allocations: 376.6 kB / 1.015 GB, free: 3.238 MB / 0.7637 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.003393/0.7599, allocations: 1.546 MB / 1.017 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.7599, allocations: 4 kB / 1.017 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001225/0.7611, allocations: 0.7887 MB / 1.018 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.7612, allocations: 15.94 kB / 1.018 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.7612, allocations: 5.562 kB / 1.018 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001461/0.7613, allocations: 61.69 kB / 1.018 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006624/0.762, allocations: 147.8 kB / 1.018 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.7643, allocations: 3.121 MB / 1.021 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007795/0.765, allocations: 29.92 kB / 1.021 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.78e-05/0.7651, allocations: 27.98 kB / 1.021 GB, free: 13.14 MB / 0.7794 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.0004647/0.7656, allocations: 310.2 kB / 1.021 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.7657, allocations: 90.97 kB / 1.021 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.7659, allocations: 96.73 kB / 1.021 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.7659, allocations: 7.984 kB / 1.021 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.766, allocations: 0 / 1.021 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00105/0.767, allocations: 0.8387 MB / 1.022 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/0.7697, allocations: 1.791 MB / 1.024 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.7697, allocations: 4 kB / 1.024 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006032/0.7703, allocations: 132.2 kB / 1.024 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.587e-05/0.7704, allocations: 40.86 kB / 1.024 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.7704, allocations: 16 kB / 1.024 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.7716, allocations: 1.594 MB / 1.026 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.7716, allocations: 11.88 kB / 1.026 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.7731, allocations: 1.065 MB / 1.027 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004281/0.7735, allocations: 236 kB / 1.027 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.7736, allocations: 15.98 kB / 1.027 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006826/0.7743, allocations: 27.92 kB / 1.027 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.7744, allocations: 47.95 kB / 1.027 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.948e-05/0.7745, allocations: 27.98 kB / 1.027 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0006898/0.7752, allocations: 0.5654 MB / 1.028 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7752, allocations: 0 / 1.028 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008817/0.7761, allocations: 272 kB / 1.028 GB, free: 5.559 MB / 0.7794 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.0005129/0.7766, allocations: 204.6 kB / 1.028 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001295/0.7779, allocations: 0.8154 MB / 1.029 GB, free: 4.516 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.778, allocations: 0 / 1.029 GB, free: 4.516 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000558/0.7785, allocations: 403.8 kB / 1.029 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/0.7811, allocations: 0.5973 MB / 1.03 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.7839, allocations: 1.802 MB / 1.032 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000704/0.7846, allocations: 1.095 MB / 1.033 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0007392/0.7853, allocations: 211.7 kB / 1.033 GB, free: 320 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.7855, allocations: 67.44 kB / 1.033 GB, free: 252 kB / 0.7794 GB Notification: Performance of SimCode: time 7.42e-07/0.7855, allocations: 0 / 1.033 GB, free: 252 kB / 0.7794 GB Notification: Performance of Templates: time 0.03292/0.8185, allocations: 20.53 MB / 1.053 GB, free: 12.04 MB / 0.8106 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)