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.001208/0.001208, allocations: 108.3 kB / 17.02 MB, free: 5.699 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.00132/0.00132, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.255/1.255, allocations: 222.9 MB / 241.7 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.696/0.696, allocations: 115.1 MB / 406.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.89 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3335, allocations: 76.15 MB / 0.5576 GB, free: 36.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1899/0.5234, allocations: 190.5 MB / 0.7436 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3038/0.8272, allocations: 5.694 MB / 0.7491 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.8286, allocations: 42.03 kB / 0.7492 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.8303, allocations: 0.5739 MB / 0.7497 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004493/0.8348, allocations: 1.825 MB / 0.7515 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003016/0.8379, allocations: 1.184 MB / 0.7527 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004519/0.8424, allocations: 2.955 MB / 0.7555 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001805/0.8442, allocations: 1.117 MB / 0.7566 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002324/0.8465, allocations: 1.057 MB / 0.7577 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002056/0.8486, allocations: 0.9636 MB / 0.7586 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002381/0.8489, allocations: 123.2 kB / 0.7587 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003498/0.8524, allocations: 1.443 MB / 0.7601 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007324/0.8531, allocations: 0.5722 MB / 0.7607 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001109/0.8542, allocations: 0.723 MB / 0.7614 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00376/0.858, allocations: 2.333 MB / 0.7637 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.858, allocations: 0.875 kB / 0.7637 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.025e-06/0.858, allocations: 1.219 kB / 0.7637 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.054e-05/0.8581, allocations: 2.172 kB / 0.7637 GB, free: 1.523 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.003148/0.8612, allocations: 1.62 MB / 0.7653 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.8613, allocations: 9.219 kB / 0.7653 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/0.8633, allocations: 332 kB / 0.7656 GB, free: 16.65 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/0.865, allocations: 0.9158 MB / 0.7665 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-05/0.8651, allocations: 72.44 kB / 0.7665 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.8652, allocations: 98.22 kB / 0.7666 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.867, allocations: 1.086 MB / 0.7677 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.867, allocations: 4 kB / 0.7677 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-05/0.8671, allocations: 44.81 kB / 0.7677 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-05/0.8672, allocations: 37.91 kB / 0.7678 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.8688, allocations: 0.9915 MB / 0.7688 GB, free: 16.24 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.006063/0.8748, allocations: 4.225 MB / 0.7729 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008482/0.8757, allocations: 0.5923 MB / 0.7735 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004892/0.8762, allocations: 341.5 kB / 0.7738 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000201/0.8764, allocations: 106 kB / 0.7739 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.8765, allocations: 44.75 kB / 0.7739 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.445e-06/0.8765, allocations: 0 / 0.7739 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.003958/0.8804, allocations: 2.201 MB / 0.7761 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.8805, allocations: 61.34 kB / 0.7761 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008944/0.8814, allocations: 0.8826 MB / 0.777 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.627e-05/0.8814, allocations: 39.11 kB / 0.777 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002766/0.8817, allocations: 0.5143 MB / 0.7775 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.8819, allocations: 205.7 kB / 0.7777 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.8821, allocations: 126.8 kB / 0.7779 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.8822, allocations: 338.1 kB / 0.7782 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.8826, allocations: 282.5 kB / 0.7784 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/0.8831, allocations: 434.1 kB / 0.7789 GB, free: 12.52 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.003339/0.8864, allocations: 1.741 MB / 0.7806 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.8864, allocations: 2.844 kB / 0.7806 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001278/0.8877, allocations: 0.9283 MB / 0.7815 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.8877, allocations: 5.938 kB / 0.7815 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.8878, allocations: 9.375 kB / 0.7815 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001831/0.888, allocations: 94.86 kB / 0.7816 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006522/0.8886, allocations: 161.2 kB / 0.7817 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/0.8917, allocations: 4.635 MB / 0.7863 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009133/0.8926, allocations: 32.53 kB / 0.7863 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/0.8927, allocations: 27.34 kB / 0.7863 GB, free: 8.09 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.0005241/0.8932, allocations: 355.6 kB / 0.7866 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.8934, allocations: 101.7 kB / 0.7867 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/0.8936, allocations: 108.8 kB / 0.7868 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.8936, allocations: 6.094 kB / 0.7869 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.8936, allocations: 1 kB / 0.7869 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009159/0.8945, allocations: 0.7648 MB / 0.7876 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/0.8973, allocations: 1.989 MB / 0.7895 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.8973, allocations: 4.406 kB / 0.7895 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006109/0.8979, allocations: 143.9 kB / 0.7897 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.912e-05/0.898, allocations: 45.88 kB / 0.7897 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.898, allocations: 14.31 kB / 0.7897 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.8992, allocations: 1.611 MB / 0.7913 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.8992, allocations: 6.375 kB / 0.7913 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.9007, allocations: 1.204 MB / 0.7925 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005108/0.9012, allocations: 256 kB / 0.7927 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.9013, allocations: 14.73 kB / 0.7928 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006692/0.902, allocations: 37.11 kB / 0.7928 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.9021, allocations: 48.72 kB / 0.7928 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-05/0.9022, allocations: 29.88 kB / 0.7929 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006693/0.9029, allocations: 0.6125 MB / 0.7935 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9029, allocations: 0 / 0.7935 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008726/0.9037, allocations: 308 kB / 0.7938 GB, free: 5.281 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.0003884/0.9041, allocations: 199.8 kB / 0.7939 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001306/0.9055, allocations: 1.015 MB / 0.7949 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.9055, allocations: 2.094 kB / 0.7949 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005414/0.906, allocations: 443.9 kB / 0.7954 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002487/0.9085, allocations: 0.6492 MB / 0.796 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.9116, allocations: 2.101 MB / 0.7981 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006627/0.9123, allocations: 1.173 MB / 0.7992 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008841/0.9132, allocations: 248.8 kB / 0.7994 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.9134, allocations: 78.28 kB / 0.7995 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.9134, allocations: 3.188 kB / 0.7995 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of Templates: time 0.03401/0.9474, allocations: 22.27 MB / 0.8213 GB, free: 7.227 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)