Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 108.1 kB / 17.02 MB, free: 6.121 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.001164/0.001164, allocations: 196.1 kB / 17.97 MB, free: 5.211 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.321/1.321, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.719/0.719, allocations: 115.1 MB / 406.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 59.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3374, allocations: 76.14 MB / 0.5576 GB, free: 36.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1849/0.5224, allocations: 190.5 MB / 0.7435 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2847/0.8072, allocations: 5.697 MB / 0.7491 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.8086, allocations: 41.34 kB / 0.7492 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.8102, allocations: 0.5658 MB / 0.7497 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004102/0.8143, allocations: 1.83 MB / 0.7515 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002928/0.8173, allocations: 1.179 MB / 0.7526 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004199/0.8215, allocations: 2.958 MB / 0.7555 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001903/0.8234, allocations: 1.117 MB / 0.7566 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002344/0.8258, allocations: 1.056 MB / 0.7577 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002257/0.8281, allocations: 0.9709 MB / 0.7586 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000315/0.8284, allocations: 122.7 kB / 0.7587 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003328/0.8317, allocations: 1.447 MB / 0.7601 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007704/0.8325, allocations: 0.5676 MB / 0.7607 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.8337, allocations: 0.7243 MB / 0.7614 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003498/0.8372, allocations: 2.336 MB / 0.7637 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.8373, allocations: 0 / 0.7637 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8373, allocations: 0 / 0.7637 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.155e-05/0.8373, allocations: 2.406 kB / 0.7637 GB, free: 1.566 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003572/0.8409, allocations: 1.621 MB / 0.7653 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.841, allocations: 9.531 kB / 0.7653 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002185/0.8431, allocations: 328.6 kB / 0.7656 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/0.8451, allocations: 0.9147 MB / 0.7665 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.56e-05/0.8452, allocations: 77.94 kB / 0.7666 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.8454, allocations: 95.91 kB / 0.7666 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.8473, allocations: 1.08 MB / 0.7677 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.8474, allocations: 0.6562 kB / 0.7677 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.956e-05/0.8475, allocations: 42.66 kB / 0.7677 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.098e-05/0.8476, allocations: 39.53 kB / 0.7678 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.8493, allocations: 0.9954 MB / 0.7687 GB, free: 16.29 MB / 0.5919 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.006529/0.8558, allocations: 4.224 MB / 0.7729 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008795/0.8567, allocations: 0.5965 MB / 0.7735 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005145/0.8573, allocations: 342.1 kB / 0.7738 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002027/0.8575, allocations: 105.5 kB / 0.7739 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.8575, allocations: 43.75 kB / 0.7739 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.345e-06/0.8575, allocations: 0.875 kB / 0.7739 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.004147/0.8617, allocations: 2.198 MB / 0.7761 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.8617, allocations: 65.33 kB / 0.7761 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000961/0.8627, allocations: 0.8791 MB / 0.777 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.099e-05/0.8628, allocations: 40.89 kB / 0.777 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.8631, allocations: 0.5183 MB / 0.7775 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.8633, allocations: 190.8 kB / 0.7777 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/0.8635, allocations: 132.2 kB / 0.7778 GB, free: 13 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.8636, allocations: 333.1 kB / 0.7782 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004249/0.8641, allocations: 289.8 kB / 0.7784 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005144/0.8646, allocations: 438.6 kB / 0.7789 GB, free: 12.56 MB / 0.5919 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.003641/0.8682, allocations: 1.74 MB / 0.7806 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.8683, allocations: 0.9375 kB / 0.7806 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001487/0.8698, allocations: 0.9226 MB / 0.7815 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.8698, allocations: 6.781 kB / 0.7815 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.8698, allocations: 9.719 kB / 0.7815 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001901/0.87, allocations: 98.61 kB / 0.7816 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006921/0.8707, allocations: 169.7 kB / 0.7817 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003369/0.8741, allocations: 4.639 MB / 0.7863 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.8751, allocations: 27.66 kB / 0.7863 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-05/0.8752, allocations: 30.78 kB / 0.7863 GB, free: 8.129 MB / 0.5919 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005526/0.8758, allocations: 348.1 kB / 0.7866 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.876, allocations: 101.7 kB / 0.7867 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.8762, allocations: 110.5 kB / 0.7869 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.8762, allocations: 6.031 kB / 0.7869 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.8762, allocations: 0.9688 kB / 0.7869 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009757/0.8772, allocations: 0.7656 MB / 0.7876 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003049/0.8802, allocations: 1.991 MB / 0.7895 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.8802, allocations: 3.344 kB / 0.7896 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006634/0.8809, allocations: 144.8 kB / 0.7897 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.77e-05/0.881, allocations: 41.69 kB / 0.7897 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/0.8811, allocations: 17.44 kB / 0.7897 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.8822, allocations: 1.605 MB / 0.7913 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.8822, allocations: 3.594 kB / 0.7913 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.8838, allocations: 1.212 MB / 0.7925 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005674/0.8844, allocations: 255.8 kB / 0.7927 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.8845, allocations: 19.14 kB / 0.7928 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007228/0.8853, allocations: 32.02 kB / 0.7928 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.8854, allocations: 50.33 kB / 0.7928 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.89e-05/0.8855, allocations: 33.19 kB / 0.7929 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00071/0.8862, allocations: 0.6117 MB / 0.7935 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8862, allocations: 0.8438 kB / 0.7935 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009548/0.8872, allocations: 303.9 kB / 0.7938 GB, free: 5.324 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * 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.0004236/0.8876, allocations: 196.7 kB / 0.794 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001412/0.889, allocations: 1.022 MB / 0.7949 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.889, allocations: 3.219 kB / 0.795 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005537/0.8896, allocations: 445.9 kB / 0.7954 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/0.8922, allocations: 0.6418 MB / 0.796 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.8953, allocations: 2.094 MB / 0.798 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007139/0.896, allocations: 1.172 MB / 0.7992 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009042/0.8969, allocations: 252.2 kB / 0.7994 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.8971, allocations: 81.19 kB / 0.7995 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.8972, allocations: 0 / 0.7995 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of Templates: time 0.03383/0.931, allocations: 22.27 MB / 0.8213 GB, free: 7.344 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)