Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 107 kB / 17.03 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.001163/0.001163, allocations: 194.9 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.235/1.235, 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.6761/0.6761, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.89 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3592, allocations: 76.13 MB / 0.5576 GB, free: 36.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1799/0.5392, allocations: 190.3 MB / 0.7434 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3092/0.8485, allocations: 5.694 MB / 0.749 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.8499, allocations: 38.47 kB / 0.749 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001761/0.8517, allocations: 0.5704 MB / 0.7496 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004745/0.8565, allocations: 1.609 MB / 0.7511 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00439/0.8609, allocations: 1.201 MB / 0.7523 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005989/0.8669, allocations: 2.509 MB / 0.7548 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0023/0.8692, allocations: 0.9927 MB / 0.7557 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00303/0.8723, allocations: 1.024 MB / 0.7567 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002519/0.8748, allocations: 0.8209 MB / 0.7575 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004707/0.8753, allocations: 104.4 kB / 0.7576 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004135/0.8795, allocations: 1.524 MB / 0.7591 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001125/0.8806, allocations: 493.6 kB / 0.7596 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002094/0.8827, allocations: 0.6234 MB / 0.7602 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004499/0.8872, allocations: 2.108 MB / 0.7623 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.8872, allocations: 0 / 0.7623 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8872, allocations: 1.938 kB / 0.7623 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.995e-05/0.8873, allocations: 4.375 kB / 0.7623 GB, free: 1.539 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.00341/0.8907, allocations: 1.471 MB / 0.7637 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.8908, allocations: 10.83 kB / 0.7637 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002075/0.8929, allocations: 325.4 kB / 0.764 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.8945, allocations: 0.8161 MB / 0.7648 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.499e-05/0.8945, allocations: 68.69 kB / 0.7649 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.8947, allocations: 83.94 kB / 0.765 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.8965, allocations: 1.073 MB / 0.766 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.8965, allocations: 1.031 kB / 0.766 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.651e-05/0.8966, allocations: 39.56 kB / 0.766 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.384e-05/0.8967, allocations: 36.53 kB / 0.7661 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.8982, allocations: 0.8329 MB / 0.7669 GB, free: 16.22 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.00568/0.9038, allocations: 4.257 MB / 0.7711 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005911/0.9045, allocations: 367 kB / 0.7714 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/0.9048, allocations: 213.4 kB / 0.7716 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/0.905, allocations: 103.4 kB / 0.7717 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.905, allocations: 43.92 kB / 0.7717 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 1.774e-06/0.905, allocations: 0 / 0.7717 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=38): time 0.002545/0.9076, allocations: 1.33 MB / 0.773 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.9076, allocations: 63.09 kB / 0.7731 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.909, allocations: 1.005 MB / 0.7741 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.362e-05/0.909, allocations: 36.14 kB / 0.7741 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/0.9094, allocations: 0.4896 MB / 0.7746 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.9095, allocations: 135.5 kB / 0.7747 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.9097, allocations: 124.7 kB / 0.7748 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.9098, allocations: 328.6 kB / 0.7752 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004465/0.9103, allocations: 238.5 kB / 0.7754 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005641/0.9109, allocations: 422.5 kB / 0.7758 GB, free: 12.32 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.002325/0.9132, allocations: 1.218 MB / 0.777 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.9132, allocations: 7.531 kB / 0.777 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001239/0.9145, allocations: 0.7635 MB / 0.7777 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.9145, allocations: 11.94 kB / 0.7777 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.9145, allocations: 12.44 kB / 0.7778 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.9145, allocations: 8.281 kB / 0.7778 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/0.9151, allocations: 146.4 kB / 0.7779 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.9151, allocations: 11.73 kB / 0.7779 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000939/0.916, allocations: 58.67 kB / 0.778 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/0.9161, allocations: 28.92 kB / 0.778 GB, free: 11.92 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: 25 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004348/0.9165, allocations: 316.6 kB / 0.7783 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.9167, allocations: 97.5 kB / 0.7784 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.9169, allocations: 105.6 kB / 0.7785 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.9169, allocations: 5.812 kB / 0.7785 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.9169, allocations: 1.031 kB / 0.7785 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005926/0.9175, allocations: 0.6717 MB / 0.7792 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.9198, allocations: 1.587 MB / 0.7807 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.9198, allocations: 4.406 kB / 0.7807 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.9201, allocations: 84.52 kB / 0.7808 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.9202, allocations: 5.125 kB / 0.7808 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.9202, allocations: 16.28 kB / 0.7808 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.291e-05/0.9202, allocations: 12.36 kB / 0.7808 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.9202, allocations: 8.062 kB / 0.7808 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008861/0.9211, allocations: 0.8266 MB / 0.7816 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004364/0.9216, allocations: 236.3 kB / 0.7819 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.9217, allocations: 16.19 kB / 0.7819 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006366/0.9223, allocations: 39.7 kB / 0.7819 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.404e-05/0.9224, allocations: 37.8 kB / 0.782 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.479e-05/0.9225, allocations: 28.22 kB / 0.782 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009317/0.9234, allocations: 0.7069 MB / 0.7827 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9234, allocations: 3.625 kB / 0.7827 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008947/0.9243, allocations: 255.8 kB / 0.7829 GB, free: 10.27 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004874/0.9248, allocations: 208.7 kB / 0.7831 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008558/0.9257, allocations: 0.4994 MB / 0.7836 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.9257, allocations: 6.719 kB / 0.7836 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.9259, allocations: 191.7 kB / 0.7838 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/0.9282, allocations: 0.609 MB / 0.7844 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.9309, allocations: 1.837 MB / 0.7862 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006153/0.9315, allocations: 1.101 MB / 0.7873 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000774/0.9323, allocations: 254.1 kB / 0.7875 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.9324, allocations: 68.41 kB / 0.7876 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.9324, allocations: 0 / 0.7876 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of Templates: time 0.03063/0.9631, allocations: 19.74 MB / 0.8068 GB, free: 2.168 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)