Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7332/0.7332, allocations: 128.7 MB / 144.5 MB, free: 1.414 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 181 kB / 174.2 MB, free: 5.945 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205 MB / 408.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009614/0.0009614, allocations: 86.34 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000945/0.000945, allocations: 59.27 kB / 0.558 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1253, allocations: 75.47 MB / 0.6317 GB, free: 33.03 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4571/0.5824, allocations: 194.6 MB / 0.8217 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01277/0.5953, allocations: 13.24 MB / 0.8347 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.5966, allocations: 31.62 kB / 0.8347 GB, free: 4.574 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.5978, allocations: 358.7 kB / 0.835 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002734/0.6006, allocations: 1.092 MB / 0.8361 GB, free: 3.434 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.6021, allocations: 0.6329 MB / 0.8367 GB, free: 2.953 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002554/0.6046, allocations: 2.937 MB / 0.8396 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008609/0.6055, allocations: 0.7425 MB / 0.8403 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003297/0.6088, allocations: 1.691 MB / 0.842 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.6103, allocations: 0.7061 MB / 0.8427 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.6104, allocations: 45.12 kB / 0.8427 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.6119, allocations: 0.8577 MB / 0.8435 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003306/0.6122, allocations: 360.8 kB / 0.8439 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0004453/0.6127, allocations: 470.8 kB / 0.8443 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.6142, allocations: 1.528 MB / 0.8458 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.6142, allocations: 0 / 0.8458 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of FrontEnd: time 7.22e-07/0.6143, allocations: 0 / 0.8458 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.6143, allocations: 4 kB / 0.8458 GB, free: 13.45 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.001713/0.616, allocations: 1.227 MB / 0.847 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.616, allocations: 9.781 kB / 0.847 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009571/0.617, allocations: 198.9 kB / 0.8472 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009079/0.6179, allocations: 0.6398 MB / 0.8478 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.618, allocations: 58.5 kB / 0.8479 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.96e-05/0.6181, allocations: 78.3 kB / 0.848 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.6192, allocations: 0.9203 MB / 0.8489 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.6192, allocations: 0 / 0.8489 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.907e-05/0.6193, allocations: 30.28 kB / 0.8489 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.404e-05/0.6194, allocations: 38.03 kB / 0.8489 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000883/0.6202, allocations: 0.6129 MB / 0.8495 GB, free: 10.86 MB / 0.5417 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.003687/0.6239, allocations: 4.344 MB / 0.8538 GB, free: 6.477 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006268/0.6246, allocations: 0.5203 MB / 0.8543 GB, free: 5.934 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.6249, allocations: 233.4 kB / 0.8545 GB, free: 5.703 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.625, allocations: 112.8 kB / 0.8546 GB, free: 5.574 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.6251, allocations: 34.56 kB / 0.8547 GB, free: 5.531 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=42): time 1.412e-06/0.6251, allocations: 0 / 0.8547 GB, free: 5.531 MB / 0.5417 GB Notification: Performance of matching and sorting (n=44): time 0.002002/0.6271, allocations: 1.333 MB / 0.856 GB, free: 4.141 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.6271, allocations: 59.34 kB / 0.856 GB, free: 4.07 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007345/0.6279, allocations: 0.7116 MB / 0.8567 GB, free: 3.348 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.6279, allocations: 33.7 kB / 0.8567 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.6282, allocations: 415.7 kB / 0.8571 GB, free: 2.895 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.6283, allocations: 165.7 kB / 0.8573 GB, free: 2.73 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.6284, allocations: 118.2 kB / 0.8574 GB, free: 2.609 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.6286, allocations: 386.8 kB / 0.8578 GB, free: 2.223 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.6289, allocations: 185.2 kB / 0.858 GB, free: 2.043 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.6292, allocations: 400.1 kB / 0.8583 GB, free: 1.559 MB / 0.5417 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.001838/0.6311, allocations: 1.14 MB / 0.8594 GB, free: 328 kB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.6311, allocations: 4 kB / 0.8595 GB, free: 324 kB / 0.5417 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008713/0.632, allocations: 0.656 MB / 0.8601 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.632, allocations: 8 kB / 0.8601 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.632, allocations: 4 kB / 0.8601 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.632, allocations: 8 kB / 0.8601 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.6325, allocations: 127.8 kB / 0.8602 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.6325, allocations: 11.94 kB / 0.8602 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004494/0.6329, allocations: 44.31 kB / 0.8603 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-05/0.633, allocations: 32 kB / 0.8603 GB, free: 15.42 MB / 0.5573 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: 27 * 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 (73): * Single equations (assignments): 73 * 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.0002865/0.6333, allocations: 274.2 kB / 0.8606 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.6334, allocations: 79.06 kB / 0.8607 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.6336, allocations: 91.72 kB / 0.8607 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.6336, allocations: 11.94 kB / 0.8608 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.6336, allocations: 0 / 0.8608 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006446/0.6342, allocations: 0.708 MB / 0.8614 GB, free: 14.17 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/0.6362, allocations: 1.455 MB / 0.8629 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.6362, allocations: 4 kB / 0.8629 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004201/0.6367, allocations: 95.89 kB / 0.863 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.6367, allocations: 4 kB / 0.863 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/0.6367, allocations: 12 kB / 0.863 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.6367, allocations: 15.92 kB / 0.863 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.6367, allocations: 4 kB / 0.863 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004337/0.6411, allocations: 3.611 MB / 0.8665 GB, free: 8.68 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.6414, allocations: 208 kB / 0.8667 GB, free: 8.457 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.588e-05/0.6415, allocations: 15.94 kB / 0.8667 GB, free: 8.441 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004344/0.6419, allocations: 39.97 kB / 0.8668 GB, free: 8.402 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.642, allocations: 36.02 kB / 0.8668 GB, free: 8.367 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.642, allocations: 24 kB / 0.8668 GB, free: 8.344 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005562/0.6426, allocations: 0.5068 MB / 0.8673 GB, free: 7.84 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6426, allocations: 0 / 0.8673 GB, free: 7.84 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009291/0.6435, allocations: 292 kB / 0.8676 GB, free: 7.555 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],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 (44): * Single equations (assignments): 44 * 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.0004801/0.644, allocations: 207.3 kB / 0.8678 GB, free: 7.363 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006739/0.6447, allocations: 465.4 kB / 0.8682 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.6447, allocations: 0 / 0.8682 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.645, allocations: 204.4 kB / 0.8684 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/0.6469, allocations: 452.8 kB / 0.8689 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.6494, allocations: 2.236 MB / 0.8711 GB, free: 3.949 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005252/0.6499, allocations: 1.048 MB / 0.8721 GB, free: 2.875 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005924/0.6505, allocations: 206.9 kB / 0.8723 GB, free: 2.668 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.6507, allocations: 67.44 kB / 0.8723 GB, free: 2.602 MB / 0.5573 GB Notification: Performance of SimCode: time 2.41e-07/0.6507, allocations: 0 / 0.8723 GB, free: 2.602 MB / 0.5573 GB Notification: Performance of Templates: time 0.02354/0.6742, allocations: 15.43 MB / 0.8874 GB, free: 3.387 MB / 0.573 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)