Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 101.8 kB / 15.98 MB, free: 6.336 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.001391/0.001391, allocations: 197.9 kB / 16.91 MB, free: 6.184 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.384/1.384, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7758/0.7758, allocations: 122.9 MB / 413.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 75.88 kB / 0.4906 GB, free: 7.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4582/0.46, allocations: 77.91 MB / 0.5667 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2198/0.6798, allocations: 184.6 MB / 0.747 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4165/1.096, allocations: 12.91 MB / 0.7596 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/1.098, allocations: 26.59 kB / 0.7597 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001476/1.099, allocations: 357.9 kB / 0.76 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003092/1.102, allocations: 0.8584 MB / 0.7608 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002558/1.105, allocations: 0.638 MB / 0.7615 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002675/1.108, allocations: 1.504 MB / 0.7629 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/1.109, allocations: 0.6231 MB / 0.7636 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005744/1.115, allocations: 1.681 MB / 0.7652 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002293/1.117, allocations: 0.5368 MB / 0.7657 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002283/1.118, allocations: 55.34 kB / 0.7658 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002848/1.12, allocations: 0.9072 MB / 0.7667 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004488/1.121, allocations: 286.1 kB / 0.7669 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007106/1.122, allocations: 392 kB / 0.7673 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002268/1.124, allocations: 1.197 MB / 0.7685 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/1.124, allocations: 0 / 0.7685 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/1.124, allocations: 1.906 kB / 0.7685 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.324e-05/1.124, allocations: 0 / 0.7685 GB, free: 1.551 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001804/1.126, allocations: 1.046 MB / 0.7695 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/1.126, allocations: 10.98 kB / 0.7695 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/1.127, allocations: 187.6 kB / 0.7697 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009754/1.128, allocations: 0.5281 MB / 0.7702 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004031/1.128, allocations: 96.38 kB / 0.7703 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/1.128, allocations: 60.22 kB / 0.7703 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/1.13, allocations: 0.7664 MB / 0.7711 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/1.13, allocations: 10.16 kB / 0.7711 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.118e-05/1.13, allocations: 25.97 kB / 0.7711 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.897e-05/1.13, allocations: 31.7 kB / 0.7712 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/1.131, allocations: 467.7 kB / 0.7716 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.00417/1.135, allocations: 4.159 MB / 0.7757 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/1.135, allocations: 105.4 kB / 0.7758 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/1.136, allocations: 73.48 kB / 0.7758 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002289/1.136, allocations: 100.4 kB / 0.7759 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.702e-05/1.136, allocations: 35.16 kB / 0.776 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 3.276e-06/1.136, allocations: 0.8438 kB / 0.776 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0009124/1.137, allocations: 245.2 kB / 0.7762 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/1.137, allocations: 135.2 kB / 0.7763 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/1.139, allocations: 0.8326 MB / 0.7771 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/1.139, allocations: 28.48 kB / 0.7772 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/1.139, allocations: 399.8 kB / 0.7776 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/1.139, allocations: 44.28 kB / 0.7776 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/1.139, allocations: 85.09 kB / 0.7777 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.139, allocations: 319.2 kB / 0.778 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/1.14, allocations: 112.7 kB / 0.7781 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/1.14, allocations: 345.2 kB / 0.7784 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007352/1.141, allocations: 416.4 kB / 0.7788 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/1.141, allocations: 2.875 kB / 0.7788 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001119/1.142, allocations: 491.5 kB / 0.7793 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/1.142, allocations: 9.312 kB / 0.7793 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/1.142, allocations: 6.844 kB / 0.7793 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/1.142, allocations: 12.22 kB / 0.7793 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/1.142, allocations: 93.56 kB / 0.7794 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/1.142, allocations: 16.84 kB / 0.7794 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009124/1.143, allocations: 130.2 kB / 0.7795 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.631e-05/1.143, allocations: 21.34 kB / 0.7796 GB, free: 11.37 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (43): * Single equations (assignments): 43 * 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.0003061/1.144, allocations: 224.7 kB / 0.7798 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/1.144, allocations: 80.14 kB / 0.7799 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/1.144, allocations: 67.42 kB / 0.7799 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/1.144, allocations: 4.281 kB / 0.7799 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/1.144, allocations: 3.938 kB / 0.7799 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.144, allocations: 3.281 kB / 0.7799 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/1.146, allocations: 1.126 MB / 0.781 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/1.146, allocations: 3.281 kB / 0.781 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.231e-05/1.146, allocations: 18.06 kB / 0.781 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/1.146, allocations: 4.641 kB / 0.7811 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/1.146, allocations: 5.812 kB / 0.7811 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/1.146, allocations: 11.42 kB / 0.7811 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.146, allocations: 5.438 kB / 0.7811 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004929/1.146, allocations: 260.1 kB / 0.7813 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/1.146, allocations: 168.8 kB / 0.7815 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.599e-05/1.147, allocations: 11.19 kB / 0.7815 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/1.147, allocations: 18.66 kB / 0.7815 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/1.147, allocations: 18.98 kB / 0.7815 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/1.147, allocations: 4.719 kB / 0.7815 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007942/1.148, allocations: 0.5834 MB / 0.7821 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/1.148, allocations: 1.094 kB / 0.7821 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005688/1.148, allocations: 157.3 kB / 0.7823 GB, free: 10.1 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.0004898/1.149, allocations: 193.1 kB / 0.7824 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005013/1.149, allocations: 232.8 kB / 0.7827 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/1.149, allocations: 6.062 kB / 0.7827 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.584e-05/1.149, allocations: 52.22 kB / 0.7827 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/1.151, allocations: 377.2 kB / 0.7831 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/1.153, allocations: 1.26 MB / 0.7843 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006591/1.154, allocations: 0.9383 MB / 0.7852 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006217/1.155, allocations: 139.4 kB / 0.7854 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/1.155, allocations: 47.61 kB / 0.7854 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of SimCode: time 3.4e-07/1.155, allocations: 3.281 kB / 0.7854 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of Templates: time 0.02178/1.176, allocations: 11.62 MB / 0.7967 GB, free: 7.812 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)