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.001243/0.001243, allocations: 97.2 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 176.5 kB / 16.57 MB, free: 6.398 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.301/1.301, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.661/0.661, allocations: 113.8 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003301, allocations: 8 kB / 493 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1355, allocations: 77.15 MB / 0.5568 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4221/0.5577, allocations: 155.7 MB / 0.7089 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01265/0.5704, allocations: 10.91 MB / 0.7196 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009672/0.5714, allocations: 23.81 kB / 0.7196 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.5727, allocations: 437.9 kB / 0.72 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003112/0.5759, allocations: 1.052 MB / 0.7211 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002435/0.5783, allocations: 0.8154 MB / 0.7218 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001944/0.5803, allocations: 1.164 MB / 0.723 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008912/0.5812, allocations: 0.6163 MB / 0.7236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002804/0.584, allocations: 1.215 MB / 0.7248 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007544/0.5848, allocations: 438.2 kB / 0.7252 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.666e-05/0.5849, allocations: 36 kB / 0.7252 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.5861, allocations: 411.4 kB / 0.7256 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003398/0.5865, allocations: 315.1 kB / 0.7259 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002267/0.5867, allocations: 201.2 kB / 0.7261 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.5878, allocations: 0.9883 MB / 0.7271 GB, free: 11.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.5878, allocations: 8 kB / 0.7271 GB, free: 11.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5878, allocations: 0 / 0.7271 GB, free: 11.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.5879, allocations: 0 / 0.7271 GB, free: 11.57 MB / 0.545 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.001608/0.5895, allocations: 1.045 MB / 0.7281 GB, free: 10.47 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.5895, allocations: 12.03 kB / 0.7281 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.5907, allocations: 211.3 kB / 0.7283 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.5917, allocations: 0.6251 MB / 0.7289 GB, free: 9.586 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.065e-05/0.5918, allocations: 58 kB / 0.729 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.5919, allocations: 80 kB / 0.7291 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.5933, allocations: 0.9202 MB / 0.73 GB, free: 8.453 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.5933, allocations: 15.84 kB / 0.73 GB, free: 8.438 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.849e-05/0.5934, allocations: 28 kB / 0.73 GB, free: 8.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.51e-05/0.5934, allocations: 33.3 kB / 0.73 GB, free: 8.375 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.5944, allocations: 0.6099 MB / 0.7306 GB, free: 7.766 MB / 0.545 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.004639/0.5991, allocations: 4.597 MB / 0.7351 GB, free: 2.879 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008245/0.5999, allocations: 0.5364 MB / 0.7356 GB, free: 2.297 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.499e-05/0.6, allocations: 15.97 kB / 0.7357 GB, free: 2.281 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.6001, allocations: 38.56 kB / 0.7357 GB, free: 2.234 MB / 0.545 GB Notification: Performance of pre-optimization done (n=43): time 3.347e-06/0.6001, allocations: 0 / 0.7357 GB, free: 2.234 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.003374/0.6034, allocations: 1.59 MB / 0.7372 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.29e-05/0.6036, allocations: 110.8 kB / 0.7374 GB, free: 464 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.6046, allocations: 0.7077 MB / 0.738 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.529e-05/0.6047, allocations: 33.7 kB / 0.7381 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/0.605, allocations: 411.8 kB / 0.7385 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.6052, allocations: 161.6 kB / 0.7386 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.6052, allocations: 20.06 kB / 0.7386 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.6053, allocations: 330 kB / 0.739 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002896/0.6056, allocations: 185.2 kB / 0.7391 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004647/0.6061, allocations: 405 kB / 0.7395 GB, free: 14.11 MB / 0.5606 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.001737/0.6078, allocations: 0.6833 MB / 0.7402 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.6079, allocations: 0 / 0.7402 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000987/0.6089, allocations: 0.6607 MB / 0.7408 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.6089, allocations: 8 kB / 0.7408 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.6089, allocations: 7.953 kB / 0.7408 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.6089, allocations: 16 kB / 0.7409 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004913/0.6094, allocations: 131.8 kB / 0.741 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.6095, allocations: 11.98 kB / 0.741 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006411/0.6101, allocations: 56.62 kB / 0.7411 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.6102, allocations: 24 kB / 0.7411 GB, free: 12.49 MB / 0.5606 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003767/0.6105, allocations: 273.9 kB / 0.7413 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.6107, allocations: 79.06 kB / 0.7414 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.6109, allocations: 95.66 kB / 0.7415 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.6109, allocations: 7.953 kB / 0.7415 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.6109, allocations: 0 / 0.7415 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007285/0.6116, allocations: 0.696 MB / 0.7422 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002391/0.614, allocations: 1.65 MB / 0.7438 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.6141, allocations: 4.5 kB / 0.7438 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004515/0.6145, allocations: 103.8 kB / 0.7439 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.6145, allocations: 8 kB / 0.7439 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.6146, allocations: 15.98 kB / 0.7439 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.6146, allocations: 4 kB / 0.7439 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/0.6146, allocations: 7.938 kB / 0.7439 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.6159, allocations: 1.056 MB / 0.745 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003301/0.6163, allocations: 200.2 kB / 0.7452 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.6164, allocations: 15.98 kB / 0.7452 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004943/0.6169, allocations: 36.39 kB / 0.7452 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.617, allocations: 47.78 kB / 0.7453 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/0.617, allocations: 20.56 kB / 0.7453 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006579/0.6177, allocations: 0.499 MB / 0.7458 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6177, allocations: 0 / 0.7458 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007499/0.6184, allocations: 208 kB / 0.746 GB, free: 7.105 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004488/0.6189, allocations: 210.5 kB / 0.7462 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007891/0.6197, allocations: 461 kB / 0.7466 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.6197, allocations: 4 kB / 0.7466 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000307/0.62, allocations: 205.4 kB / 0.7468 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/0.622, allocations: 452.3 kB / 0.7472 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.6247, allocations: 2.018 MB / 0.7492 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005651/0.6252, allocations: 1.04 MB / 0.7502 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006373/0.6259, allocations: 199 kB / 0.7504 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.626, allocations: 63.42 kB / 0.7505 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.6261, allocations: 4 kB / 0.7505 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of Templates: time 0.02382/0.6499, allocations: 13.93 MB / 0.7641 GB, free: 4.695 MB / 0.5762 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)