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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7125/0.7125, allocations: 127.3 MB / 139.8 MB, free: 15.5 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 184.8 kB / 169.7 MB, free: 1.75 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.741/1.741, allocations: 205.1 MB / 404.5 MB, free: 1.652 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.001011/0.001011, allocations: 86.36 kB / 481.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.256e-05/4.265e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.159, allocations: 76.77 MB / 0.6283 GB, free: 9.926 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.517/5.676, allocations: 2.162 GB / 2.79 GB, free: 165.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/5.677, allocations: 91.94 kB / 2.79 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.978/7.655, allocations: 0.5867 GB / 3.377 GB, free: 73.11 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.322e-06/7.655, allocations: 0 / 3.377 GB, free: 73.11 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.702e-05/7.655, allocations: 24 kB / 3.377 GB, free: 73.09 MB / 0.6511 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.002003/7.657, allocations: 1.14 MB / 3.378 GB, free: 71.91 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/7.657, allocations: 8.031 kB / 3.378 GB, free: 71.9 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/7.657, allocations: 122.6 kB / 3.378 GB, free: 71.77 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/7.658, allocations: 214.6 kB / 3.378 GB, free: 71.56 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/7.659, allocations: 0.6719 MB / 3.379 GB, free: 70.85 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/7.659, allocations: 62 kB / 3.379 GB, free: 70.79 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-05/7.66, allocations: 83.91 kB / 3.379 GB, free: 70.71 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/7.661, allocations: 0.8764 MB / 3.38 GB, free: 69.75 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/7.661, allocations: 0 / 3.38 GB, free: 69.75 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.48e-05/7.661, allocations: 39.98 kB / 3.38 GB, free: 69.71 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.13e-05/7.661, allocations: 29.31 kB / 3.38 GB, free: 69.68 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007999/7.662, allocations: 0.575 MB / 3.381 GB, free: 69.11 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.003121/7.665, allocations: 4.325 MB / 3.385 GB, free: 64.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/7.665, allocations: 423.3 kB / 3.385 GB, free: 64.08 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/7.666, allocations: 226 kB / 3.385 GB, free: 63.86 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/7.666, allocations: 101.1 kB / 3.386 GB, free: 63.75 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/7.666, allocations: 34.56 kB / 3.386 GB, free: 63.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=42): time 1.934e-06/7.666, allocations: 0 / 3.386 GB, free: 63.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.001788/7.668, allocations: 1.156 MB / 3.387 GB, free: 62.49 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/7.668, allocations: 59.41 kB / 3.387 GB, free: 62.42 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006011/7.668, allocations: 0.6094 MB / 3.387 GB, free: 61.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/7.668, allocations: 37.7 kB / 3.387 GB, free: 61.76 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/7.668, allocations: 419.8 kB / 3.388 GB, free: 61.34 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.587e-05/7.669, allocations: 157.7 kB / 3.388 GB, free: 61.19 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/7.669, allocations: 8 kB / 3.388 GB, free: 61.18 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.646e-05/7.669, allocations: 390.8 kB / 3.388 GB, free: 60.79 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/7.669, allocations: 177.5 kB / 3.388 GB, free: 60.62 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/7.669, allocations: 400.8 kB / 3.389 GB, free: 60.12 MB / 0.6511 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.001307/7.671, allocations: 0.635 MB / 3.389 GB, free: 59.47 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/7.671, allocations: 4 kB / 3.389 GB, free: 59.47 MB / 0.6511 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007646/7.671, allocations: 0.644 MB / 3.39 GB, free: 58.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/7.671, allocations: 8.75 kB / 3.39 GB, free: 58.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/7.671, allocations: 11.89 kB / 3.39 GB, free: 58.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/7.671, allocations: 16 kB / 3.39 GB, free: 58.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/7.672, allocations: 119.8 kB / 3.39 GB, free: 58.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/7.672, allocations: 19.31 kB / 3.39 GB, free: 58.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/7.672, allocations: 43.83 kB / 3.39 GB, free: 58.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.137e-05/7.673, allocations: 35.98 kB / 3.39 GB, free: 58.57 MB / 0.6511 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: 27 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001155/7.673, allocations: 152.8 kB / 3.391 GB, free: 58.41 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-05/7.673, allocations: 75.06 kB / 3.391 GB, free: 58.34 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/7.673, allocations: 91.44 kB / 3.391 GB, free: 58.25 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/7.673, allocations: 7.953 kB / 3.391 GB, free: 58.24 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/7.673, allocations: 0 / 3.391 GB, free: 58.24 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005186/7.673, allocations: 0.6793 MB / 3.391 GB, free: 57.48 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/7.675, allocations: 1.419 MB / 3.393 GB, free: 55.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/7.675, allocations: 4 kB / 3.393 GB, free: 55.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004075/7.676, allocations: 95.89 kB / 3.393 GB, free: 55.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/7.676, allocations: 4 kB / 3.393 GB, free: 55.86 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/7.676, allocations: 16 kB / 3.393 GB, free: 55.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/7.676, allocations: 11.92 kB / 3.393 GB, free: 55.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/7.676, allocations: 4.406 kB / 3.393 GB, free: 55.82 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008944/7.677, allocations: 1.014 MB / 3.394 GB, free: 54.66 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/7.677, allocations: 200.2 kB / 3.394 GB, free: 54.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-05/7.677, allocations: 19.95 kB / 3.394 GB, free: 54.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004869/7.678, allocations: 47.81 kB / 3.394 GB, free: 54.38 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/7.678, allocations: 35.98 kB / 3.394 GB, free: 54.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/7.678, allocations: 19.98 kB / 3.394 GB, free: 54.32 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004769/7.678, allocations: 0.4952 MB / 3.395 GB, free: 53.83 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/7.678, allocations: 0 / 3.395 GB, free: 53.83 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001112/7.679, allocations: 367.9 kB / 3.395 GB, free: 53.47 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 () * 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 (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.003/7.682, allocations: 4.124 MB / 3.399 GB, free: 49.15 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006509/7.683, allocations: 443.7 kB / 3.399 GB, free: 48.72 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/7.683, allocations: 4 kB / 3.399 GB, free: 48.72 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002181/7.683, allocations: 196.2 kB / 3.4 GB, free: 48.53 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/7.685, allocations: 447.7 kB / 3.4 GB, free: 48.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/7.687, allocations: 1.506 MB / 3.402 GB, free: 46.51 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/7.688, allocations: 1.044 MB / 3.403 GB, free: 45.44 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006369/7.689, allocations: 194.9 kB / 3.403 GB, free: 45.24 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/7.689, allocations: 295.3 kB / 3.403 GB, free: 44.95 MB / 0.6511 GB Notification: Performance of SimCode: time 6.51e-07/7.689, allocations: 0 / 3.403 GB, free: 44.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4764/8.165, allocations: 51.45 MB / 3.453 GB, free: 107.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/8.166, allocations: 224.4 kB / 3.453 GB, free: 107.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.727/11.89, allocations: 2.344 kB / 3.453 GB, free: 107.4 MB / 0.6511 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)