Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 108.2 kB / 17.03 MB, free: 5.656 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.001337/0.001337, allocations: 192.1 kB / 17.97 MB, free: 5.062 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.323/1.323, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7306/0.7306, allocations: 115.1 MB / 406.9 MB, free: 6.391 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 60.05 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3246, allocations: 76.15 MB / 0.5576 GB, free: 36.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1831/0.5078, allocations: 187.3 MB / 0.7404 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2848/0.7926, allocations: 13.05 MB / 0.7532 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.7938, allocations: 34.83 kB / 0.7532 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.795, allocations: 429.4 kB / 0.7536 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002572/0.7976, allocations: 1.155 MB / 0.7547 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.7995, allocations: 0.7114 MB / 0.7554 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002762/0.8022, allocations: 2.013 MB / 0.7574 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.8036, allocations: 0.8385 MB / 0.7582 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004114/0.8077, allocations: 1.812 MB / 0.76 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001676/0.8094, allocations: 0.6663 MB / 0.7606 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000169/0.8096, allocations: 79.59 kB / 0.7607 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00192/0.8115, allocations: 0.8675 MB / 0.7616 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004624/0.812, allocations: 384.3 kB / 0.7619 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006935/0.8127, allocations: 0.5011 MB / 0.7624 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002356/0.815, allocations: 1.503 MB / 0.7639 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.8151, allocations: 0.75 kB / 0.7639 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.445e-06/0.8151, allocations: 0.875 kB / 0.7639 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.924e-05/0.8151, allocations: 0 / 0.7639 GB, free: 1.578 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002095/0.8172, allocations: 1.238 MB / 0.7651 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.8172, allocations: 10.11 kB / 0.7651 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.8184, allocations: 218 kB / 0.7653 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.8196, allocations: 0.6789 MB / 0.766 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.301e-05/0.8197, allocations: 56.53 kB / 0.766 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.8198, allocations: 85.69 kB / 0.7661 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.8211, allocations: 0.9413 MB / 0.767 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.8212, allocations: 6.219 kB / 0.767 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.824e-05/0.8212, allocations: 35.62 kB / 0.7671 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.306e-05/0.8213, allocations: 28.91 kB / 0.7671 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.8223, allocations: 0.616 MB / 0.7677 GB, free: 16.26 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.004565/0.8269, allocations: 4.577 MB / 0.7722 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007701/0.8277, allocations: 0.539 MB / 0.7727 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/0.8281, allocations: 247.5 kB / 0.7729 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002127/0.8283, allocations: 107.3 kB / 0.773 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.8283, allocations: 38.22 kB / 0.7731 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 3.246e-06/0.8283, allocations: 2.078 kB / 0.7731 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002823/0.8312, allocations: 1.595 MB / 0.7746 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/0.8312, allocations: 108.2 kB / 0.7747 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009366/0.8322, allocations: 0.7136 MB / 0.7754 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.092e-05/0.8323, allocations: 36.23 kB / 0.7755 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000285/0.8326, allocations: 417.2 kB / 0.7759 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.8327, allocations: 164.2 kB / 0.776 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.8329, allocations: 119.8 kB / 0.7761 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.833, allocations: 333.5 kB / 0.7765 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/0.8334, allocations: 187.5 kB / 0.7766 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/0.8338, allocations: 415.1 kB / 0.777 GB, free: 11.03 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002263/0.8361, allocations: 1.175 MB / 0.7782 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.8361, allocations: 2.438 kB / 0.7782 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001124/0.8372, allocations: 0.6749 MB / 0.7788 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.8373, allocations: 8.906 kB / 0.7788 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.8373, allocations: 10.34 kB / 0.7789 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.8373, allocations: 10.59 kB / 0.7789 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.8378, allocations: 124.8 kB / 0.779 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.196e-05/0.8378, allocations: 20.81 kB / 0.779 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006026/0.8384, allocations: 28.52 kB / 0.779 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.537e-05/0.8385, allocations: 28.66 kB / 0.7791 GB, free: 10.6 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * 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.0003817/0.8389, allocations: 276.3 kB / 0.7793 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.8391, allocations: 79.97 kB / 0.7794 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.8392, allocations: 94.73 kB / 0.7795 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.8393, allocations: 5.219 kB / 0.7795 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.8393, allocations: 1.625 kB / 0.7795 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007067/0.84, allocations: 0.6996 MB / 0.7802 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.8422, allocations: 1.639 MB / 0.7818 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.8422, allocations: 6.859 kB / 0.7818 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004378/0.8427, allocations: 100.9 kB / 0.7819 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.8427, allocations: 6.219 kB / 0.7819 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-05/0.8427, allocations: 15.53 kB / 0.7819 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.8427, allocations: 13.05 kB / 0.7819 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.8427, allocations: 8.531 kB / 0.7819 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009546/0.8437, allocations: 0.8648 MB / 0.7828 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003084/0.844, allocations: 207.6 kB / 0.783 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.8441, allocations: 19.16 kB / 0.783 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004506/0.8446, allocations: 17.33 kB / 0.783 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.407e-05/0.8447, allocations: 44.86 kB / 0.783 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.8447, allocations: 21.64 kB / 0.7831 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000512/0.8452, allocations: 0.5134 MB / 0.7836 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.8452, allocations: 0 / 0.7836 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006778/0.8459, allocations: 204.9 kB / 0.7838 GB, free: 8.832 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.0003866/0.8463, allocations: 195.6 kB / 0.7839 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006371/0.847, allocations: 485.6 kB / 0.7844 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.847, allocations: 2.406 kB / 0.7844 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002373/0.8472, allocations: 208.3 kB / 0.7846 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/0.8491, allocations: 482.3 kB / 0.7851 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.8514, allocations: 1.663 MB / 0.7867 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005585/0.852, allocations: 1.033 MB / 0.7877 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005843/0.8526, allocations: 198.3 kB / 0.7879 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.8527, allocations: 66.98 kB / 0.788 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.8527, allocations: 0 / 0.788 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of Templates: time 0.02306/0.8758, allocations: 15.04 MB / 0.8026 GB, free: 3.949 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)