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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 112.6 kB / 17.33 MB, free: 5.008 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.001201/0.001201, allocations: 197.8 kB / 18.33 MB, free: 4.016 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.517/1.517, allocations: 225.6 MB / 244.8 MB, free: 13.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8649/0.8649, allocations: 128.4 MB / 426.1 MB, free: 7.219 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 65.55 kB / 0.5912 GB, free: 21.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1566, allocations: 83.26 MB / 0.6725 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.7296/0.8862, allocations: 188 MB / 0.8561 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01776/0.904, allocations: 13.12 MB / 0.8689 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001616/0.9056, allocations: 32.34 kB / 0.8689 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.9071, allocations: 445.7 kB / 0.8693 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003736/0.9109, allocations: 1.196 MB / 0.8705 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002125/0.913, allocations: 0.7185 MB / 0.8712 GB, free: 496 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003188/0.9162, allocations: 2.022 MB / 0.8732 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.9173, allocations: 0.7028 MB / 0.8739 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005154/0.9224, allocations: 2.004 MB / 0.8758 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001948/0.9244, allocations: 0.7019 MB / 0.8765 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001615/0.9245, allocations: 84 kB / 0.8766 GB, free: 11 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002108/0.9267, allocations: 0.9081 MB / 0.8775 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004624/0.9271, allocations: 402.8 kB / 0.8779 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006602/0.9278, allocations: 0.4938 MB / 0.8783 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00254/0.9303, allocations: 1.506 MB / 0.8798 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.9303, allocations: 0 / 0.8798 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9303, allocations: 0 / 0.8798 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.9303, allocations: 0 / 0.8798 GB, free: 7.684 MB / 0.6387 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.002042/0.9324, allocations: 1.276 MB / 0.8811 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.9324, allocations: 8.625 kB / 0.8811 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.9337, allocations: 215.2 kB / 0.8813 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.9348, allocations: 0.6877 MB / 0.8819 GB, free: 5.406 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.517e-05/0.9349, allocations: 57.94 kB / 0.882 GB, free: 5.348 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.935, allocations: 83.95 kB / 0.8821 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.9365, allocations: 0.9249 MB / 0.883 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.9365, allocations: 11.88 kB / 0.883 GB, free: 4.246 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-05/0.9366, allocations: 32 kB / 0.883 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.283e-05/0.9366, allocations: 29.31 kB / 0.8831 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.9376, allocations: 0.6177 MB / 0.8837 GB, free: 3.57 MB / 0.6387 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.004956/0.9426, allocations: 4.663 MB / 0.8882 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008543/0.9435, allocations: 0.5208 MB / 0.8887 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004267/0.9439, allocations: 230.5 kB / 0.8889 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002197/0.9441, allocations: 101.1 kB / 0.889 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.9441, allocations: 50.5 kB / 0.8891 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 1.904e-06/0.9441, allocations: 0 / 0.8891 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.003/0.9471, allocations: 1.606 MB / 0.8907 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.9472, allocations: 114.8 kB / 0.8908 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009382/0.9482, allocations: 0.7197 MB / 0.8915 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.094e-05/0.9482, allocations: 33.7 kB / 0.8915 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000374/0.9486, allocations: 420.6 kB / 0.8919 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.9488, allocations: 174.5 kB / 0.8921 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.949, allocations: 114.3 kB / 0.8922 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.9491, allocations: 330 kB / 0.8925 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000325/0.9495, allocations: 185.2 kB / 0.8927 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005195/0.95, allocations: 421 kB / 0.8931 GB, free: 9.328 MB / 0.6544 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.002361/0.9523, allocations: 1.188 MB / 0.8942 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.9523, allocations: 7.938 kB / 0.8942 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001079/0.9534, allocations: 0.6755 MB / 0.8949 GB, free: 7.348 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.9534, allocations: 11.98 kB / 0.8949 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.9535, allocations: 4 kB / 0.8949 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/0.9535, allocations: 12.78 kB / 0.8949 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.9539, allocations: 127.8 kB / 0.895 GB, free: 7.195 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/0.954, allocations: 12 kB / 0.8951 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005751/0.9545, allocations: 36.48 kB / 0.8951 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.616e-05/0.9546, allocations: 24 kB / 0.8951 GB, free: 7.129 MB / 0.6544 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.0004251/0.955, allocations: 273.5 kB / 0.8954 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.9552, allocations: 91.38 kB / 0.8955 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.9554, allocations: 95.66 kB / 0.8955 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.9554, allocations: 4 kB / 0.8956 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.433e-06/0.9554, allocations: 4 kB / 0.8956 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008059/0.9562, allocations: 0.6999 MB / 0.8962 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/0.9589, allocations: 1.639 MB / 0.8978 GB, free: 4.121 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.9589, allocations: 12 kB / 0.8979 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004539/0.9593, allocations: 103.8 kB / 0.898 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.425e-06/0.9593, allocations: 4 kB / 0.898 GB, free: 4.004 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.9594, allocations: 16 kB / 0.898 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/0.9594, allocations: 8 kB / 0.898 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/0.9594, allocations: 7.938 kB / 0.898 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.9606, allocations: 0.8652 MB / 0.8988 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003292/0.9609, allocations: 212.5 kB / 0.899 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.961, allocations: 15.98 kB / 0.899 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004635/0.9615, allocations: 16 kB / 0.8991 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.9616, allocations: 43.83 kB / 0.8991 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-05/0.9616, allocations: 20.88 kB / 0.8991 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006918/0.9623, allocations: 0.5068 MB / 0.8996 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.9623, allocations: 4 kB / 0.8996 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008217/0.9631, allocations: 203.9 kB / 0.8998 GB, free: 2.023 MB / 0.6544 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.0005516/0.9637, allocations: 207.6 kB / 0.9 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000831/0.9645, allocations: 460.7 kB / 0.9005 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.9645, allocations: 0 / 0.9005 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.9648, allocations: 199.7 kB / 0.9006 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/0.9668, allocations: 499.1 kB / 0.9011 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.9697, allocations: 1.675 MB / 0.9028 GB, free: 14.95 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007585/0.9704, allocations: 1.028 MB / 0.9038 GB, free: 13.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006273/0.9711, allocations: 203 kB / 0.904 GB, free: 13.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.9712, allocations: 63.42 kB / 0.904 GB, free: 13.63 MB / 0.67 GB Notification: Performance of SimCode: time 1.443e-06/0.9712, allocations: 3.938 kB / 0.904 GB, free: 13.63 MB / 0.67 GB Notification: Performance of Templates: time 0.03079/1.002, allocations: 15.37 MB / 0.919 GB, free: 14.46 MB / 0.6856 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 660] (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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 480]