Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 79.97 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002194/0.002194, allocations: 165.5 kB / 22.46 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.569/1.569, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003702/0.003702, allocations: 229.9 kB / 259.4 MB, free: 492 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.068/1.068, allocations: 138.4 MB / 454.3 MB, free: 2.016 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6468 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.768e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4749/0.4749, allocations: 165.4 MB / 0.8084 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02004/0.4949, allocations: 11.97 MB / 0.8201 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.4963, allocations: 47.62 kB / 0.8201 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.498, allocations: 425.1 kB / 0.8205 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003576/0.5015, allocations: 1.236 MB / 0.8217 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.5037, allocations: 0.7738 MB / 0.8225 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003099/0.5068, allocations: 2.06 MB / 0.8245 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.5081, allocations: 0.6098 MB / 0.8251 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004869/0.5129, allocations: 2.09 MB / 0.8271 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001741/0.5147, allocations: 0.6245 MB / 0.8277 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.5149, allocations: 80 kB / 0.8278 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/0.5167, allocations: 0.7401 MB / 0.8285 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00055/0.5172, allocations: 425.1 kB / 0.8289 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006464/0.5179, allocations: 351.1 kB / 0.8293 GB, free: 5.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002625/0.5205, allocations: 1.511 MB / 0.8308 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5205, allocations: 0 / 0.8308 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5205, allocations: 0 / 0.8308 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.528e-05/0.5205, allocations: 0 / 0.8308 GB, free: 3.965 MB / 0.6544 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.002155/0.5227, allocations: 1.178 MB / 0.8319 GB, free: 2.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.5227, allocations: 12.75 kB / 0.8319 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.5241, allocations: 223.1 kB / 0.8321 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.5253, allocations: 0.6193 MB / 0.8327 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.837e-05/0.5253, allocations: 58 kB / 0.8328 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.5255, allocations: 76 kB / 0.8329 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.5271, allocations: 1.055 MB / 0.8339 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.5271, allocations: 11.94 kB / 0.8339 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.332e-05/0.5272, allocations: 35.98 kB / 0.8339 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.38e-05/0.5273, allocations: 25.31 kB / 0.834 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.5284, allocations: 0.6177 MB / 0.8346 GB, free: 15.88 MB / 0.67 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.004389/0.5328, allocations: 3.586 MB / 0.8381 GB, free: 12.17 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008707/0.5337, allocations: 459 kB / 0.8385 GB, free: 11.7 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003946/0.5341, allocations: 234.5 kB / 0.8387 GB, free: 11.46 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001488/0.5342, allocations: 19.98 kB / 0.8387 GB, free: 11.45 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.5343, allocations: 41.66 kB / 0.8388 GB, free: 11.4 MB / 0.67 GB Notification: Performance of pre-optimization done (n=43): time 1.924e-06/0.5343, allocations: 4 kB / 0.8388 GB, free: 11.39 MB / 0.67 GB Notification: Performance of matching and sorting (n=45): time 0.003123/0.5374, allocations: 1.524 MB / 0.8403 GB, free: 9.832 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.72e-05/0.5375, allocations: 110.8 kB / 0.8404 GB, free: 9.699 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006856/0.5382, allocations: 0.5457 MB / 0.8409 GB, free: 9.145 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.176e-05/0.5382, allocations: 33.7 kB / 0.8409 GB, free: 9.105 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003625/0.5386, allocations: 444 kB / 0.8414 GB, free: 8.668 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.5388, allocations: 170.7 kB / 0.8415 GB, free: 8.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.539, allocations: 122.2 kB / 0.8416 GB, free: 8.371 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002301/0.5392, allocations: 374.8 kB / 0.842 GB, free: 7.996 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/0.5395, allocations: 185.2 kB / 0.8422 GB, free: 7.816 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006639/0.5402, allocations: 0.5578 MB / 0.8427 GB, free: 7.125 MB / 0.67 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.002492/0.5427, allocations: 1.105 MB / 0.8438 GB, free: 5.934 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.5427, allocations: 4 kB / 0.8438 GB, free: 5.93 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001118/0.5438, allocations: 0.6568 MB / 0.8445 GB, free: 5.266 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.5438, allocations: 8 kB / 0.8445 GB, free: 5.258 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.5438, allocations: 4 kB / 0.8445 GB, free: 5.254 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.5439, allocations: 12 kB / 0.8445 GB, free: 5.242 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/0.5443, allocations: 123.8 kB / 0.8446 GB, free: 5.121 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-05/0.5443, allocations: 15.92 kB / 0.8446 GB, free: 5.105 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005107/0.5449, allocations: 20 kB / 0.8446 GB, free: 5.086 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.067e-05/0.5449, allocations: 40.17 kB / 0.8447 GB, free: 5.047 MB / 0.67 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.0004095/0.5453, allocations: 274.8 kB / 0.8449 GB, free: 4.77 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.5455, allocations: 67.58 kB / 0.845 GB, free: 4.703 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.5456, allocations: 78.25 kB / 0.8451 GB, free: 4.625 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.5457, allocations: 4 kB / 0.8451 GB, free: 4.621 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5457, allocations: 4 kB / 0.8451 GB, free: 4.617 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008175/0.5465, allocations: 0.7026 MB / 0.8458 GB, free: 3.828 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002556/0.549, allocations: 1.44 MB / 0.8472 GB, free: 2.309 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.549, allocations: 4 kB / 0.8472 GB, free: 2.305 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004852/0.5495, allocations: 99.83 kB / 0.8473 GB, free: 2.207 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.5495, allocations: 4 kB / 0.8473 GB, free: 2.203 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.5496, allocations: 16.5 kB / 0.8473 GB, free: 2.188 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/0.5496, allocations: 12 kB / 0.8473 GB, free: 2.176 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.5496, allocations: 7.938 kB / 0.8473 GB, free: 2.168 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.5509, allocations: 0.8407 MB / 0.8481 GB, free: 1.27 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/0.5511, allocations: 119.5 kB / 0.8482 GB, free: 1.152 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.434e-05/0.5512, allocations: 15.98 kB / 0.8483 GB, free: 1.137 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004253/0.5517, allocations: 16 kB / 0.8483 GB, free: 1.121 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.35e-05/0.5517, allocations: 39.81 kB / 0.8483 GB, free: 1.082 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.079e-05/0.5518, allocations: 20 kB / 0.8483 GB, free: 1.062 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004954/0.5523, allocations: 374.8 kB / 0.8487 GB, free: 0.6992 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.5523, allocations: 0 / 0.8487 GB, free: 0.6992 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007924/0.5531, allocations: 198.9 kB / 0.8489 GB, free: 0.5078 MB / 0.67 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.0004685/0.5535, allocations: 195.1 kB / 0.8491 GB, free: 332 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008822/0.5544, allocations: 464.6 kB / 0.8495 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5544, allocations: 0 / 0.8495 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003489/0.5548, allocations: 205.7 kB / 0.8497 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.5565, allocations: 350.5 kB / 0.85 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.5592, allocations: 1.552 MB / 0.8515 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005243/0.5598, allocations: 439.3 kB / 0.852 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005336/0.5603, allocations: 176.6 kB / 0.8521 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.5605, allocations: 52.44 kB / 0.8522 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of SimCode: time 6.71e-07/0.5605, allocations: 0 / 0.8522 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of Templates: time 0.02287/0.5833, allocations: 11.83 MB / 0.8637 GB, free: 1.613 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.5963556580245495] Failed to read output from testmodel.py, exit status != 0: 0.59232572093606 0.607162069 0.08332085 Calling exit ...