Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001049/0.00105, allocations: 107.4 kB / 17.04 MB, free: 6.055 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.001169/0.001169, allocations: 196 kB / 17.98 MB, free: 5.141 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.251/1.251, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6848/0.6848, allocations: 115.1 MB / 406.9 MB, free: 6.316 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 67.84 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3249, allocations: 76.14 MB / 0.5576 GB, free: 36.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5083/0.8332, allocations: 221.1 MB / 0.7735 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008665/0.8419, allocations: 5.713 MB / 0.779 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.8432, allocations: 47.41 kB / 0.7791 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.8446, allocations: 0.5808 MB / 0.7796 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004047/0.8487, allocations: 1.841 MB / 0.7814 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002613/0.8513, allocations: 1.192 MB / 0.7826 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003825/0.8552, allocations: 2.953 MB / 0.7855 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.8565, allocations: 1.024 MB / 0.7865 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002105/0.8587, allocations: 1.062 MB / 0.7875 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002149/0.8608, allocations: 0.9441 MB / 0.7884 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002334/0.8611, allocations: 111.2 kB / 0.7886 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/0.8639, allocations: 1.424 MB / 0.7899 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004274/0.8644, allocations: 461.9 kB / 0.7904 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007694/0.8652, allocations: 0.6541 MB / 0.791 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002616/0.8678, allocations: 2.137 MB / 0.7931 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.8678, allocations: 0.875 kB / 0.7931 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8678, allocations: 0 / 0.7931 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.8678, allocations: 0 / 0.7931 GB, free: 16.18 MB / 0.5762 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.002096/0.8699, allocations: 1.513 MB / 0.7946 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.87, allocations: 11.88 kB / 0.7946 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/0.8718, allocations: 315.5 kB / 0.7949 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.8731, allocations: 0.8555 MB / 0.7957 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/0.8731, allocations: 65.95 kB / 0.7958 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.8733, allocations: 85.62 kB / 0.7959 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.8746, allocations: 0.9062 MB / 0.7968 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.8746, allocations: 0 / 0.7968 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.16e-05/0.8747, allocations: 43.83 kB / 0.7968 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.8747, allocations: 35.25 kB / 0.7968 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.876, allocations: 0.8323 MB / 0.7977 GB, free: 14.95 MB / 0.5762 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.004677/0.8807, allocations: 3.517 MB / 0.8011 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006992/0.8814, allocations: 493.7 kB / 0.8016 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003906/0.8818, allocations: 301.4 kB / 0.8018 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/0.8819, allocations: 102.4 kB / 0.8019 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.882, allocations: 47.91 kB / 0.802 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 2.375e-06/0.882, allocations: 0 / 0.802 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=49): time 0.003127/0.8851, allocations: 1.868 MB / 0.8038 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.8852, allocations: 61.44 kB / 0.8039 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008503/0.886, allocations: 0.81 MB / 0.8047 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.448e-05/0.8861, allocations: 37.11 kB / 0.8047 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.8864, allocations: 476.5 kB / 0.8052 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.8865, allocations: 173.5 kB / 0.8053 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.8867, allocations: 120.1 kB / 0.8054 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.094e-05/0.8868, allocations: 329.5 kB / 0.8057 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004188/0.8872, allocations: 243.1 kB / 0.806 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005064/0.8877, allocations: 388.3 kB / 0.8063 GB, free: 11.77 MB / 0.5762 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.00325/0.891, allocations: 1.534 MB / 0.8078 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.891, allocations: 3.938 kB / 0.8079 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00114/0.8921, allocations: 0.7962 MB / 0.8086 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.8922, allocations: 6.922 kB / 0.8086 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.8922, allocations: 3.594 kB / 0.8086 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001731/0.8923, allocations: 65.61 kB / 0.8087 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006391/0.893, allocations: 150.8 kB / 0.8088 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.895, allocations: 3.121 MB / 0.8119 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009617/0.896, allocations: 33.28 kB / 0.8119 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.987e-05/0.896, allocations: 24.97 kB / 0.8119 GB, free: 8.727 MB / 0.5762 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.0005977/0.8966, allocations: 309.5 kB / 0.8122 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.8968, allocations: 93.91 kB / 0.8123 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.8971, allocations: 101.5 kB / 0.8124 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.8971, allocations: 4.406 kB / 0.8124 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.8971, allocations: 1.062 kB / 0.8124 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009487/0.898, allocations: 0.8391 MB / 0.8133 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002637/0.9007, allocations: 1.788 MB / 0.815 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.9007, allocations: 3.5 kB / 0.815 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005785/0.9013, allocations: 134.3 kB / 0.8151 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-05/0.9014, allocations: 42.73 kB / 0.8152 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.9014, allocations: 13.19 kB / 0.8152 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009684/0.9024, allocations: 1.598 MB / 0.8167 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.9024, allocations: 6.031 kB / 0.8168 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.9039, allocations: 1.08 MB / 0.8178 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004015/0.9043, allocations: 238.4 kB / 0.818 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.9044, allocations: 17.47 kB / 0.8181 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006395/0.9051, allocations: 29.25 kB / 0.8181 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.9052, allocations: 40.2 kB / 0.8181 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-05/0.9052, allocations: 33.56 kB / 0.8182 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006412/0.9059, allocations: 0.5687 MB / 0.8187 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9059, allocations: 0.8438 kB / 0.8187 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008691/0.9068, allocations: 271.2 kB / 0.819 GB, free: 5.535 MB / 0.5762 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.0003823/0.9072, allocations: 197.3 kB / 0.8192 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001046/0.9082, allocations: 0.8061 MB / 0.8199 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.9082, allocations: 0 / 0.8199 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004554/0.9087, allocations: 414.9 kB / 0.8203 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.9109, allocations: 0.5971 MB / 0.8209 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.913, allocations: 1.807 MB / 0.8227 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.9134, allocations: 1.091 MB / 0.8237 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000603/0.914, allocations: 213.5 kB / 0.824 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.9142, allocations: 70.83 kB / 0.824 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of SimCode: time 3.7e-07/0.9142, allocations: 0 / 0.824 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of Templates: time 0.02795/0.9422, allocations: 20.03 MB / 0.8436 GB, free: 1.414 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)