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.7451/0.7451, allocations: 128.7 MB / 143.7 MB, free: 2.367 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.001195/0.001195, allocations: 182.4 kB / 173.7 MB, free: 6.148 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.691/1.691, allocations: 205.4 MB / 409 MB, free: 10.51 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.001006/0.001006, allocations: 85.73 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003457, allocations: 11.92 kB / 0.5604 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1699, allocations: 76.77 MB / 0.6354 GB, free: 30.49 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.302/5.472, allocations: 2.162 GB / 2.797 GB, free: 214.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/5.472, allocations: 97.36 kB / 2.797 GB, free: 214.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.979/7.451, allocations: 0.5873 GB / 3.385 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.764e-06/7.451, allocations: 0 / 3.385 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.84e-05/7.451, allocations: 26.55 kB / 3.385 GB, free: 113.4 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.002585/7.454, allocations: 1.253 MB / 3.386 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/7.454, allocations: 10.03 kB / 3.386 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001556/7.454, allocations: 123.5 kB / 3.386 GB, free: 112.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/7.455, allocations: 216.2 kB / 3.386 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/7.456, allocations: 0.6799 MB / 3.387 GB, free: 111.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/7.457, allocations: 55.97 kB / 3.387 GB, free: 111.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/7.457, allocations: 81.44 kB / 3.387 GB, free: 111.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/7.458, allocations: 0.8903 MB / 3.388 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/7.458, allocations: 7.906 kB / 3.388 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.797e-05/7.458, allocations: 31.59 kB / 3.388 GB, free: 111 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.836e-05/7.458, allocations: 24.75 kB / 3.388 GB, free: 111 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008602/7.459, allocations: 0.5943 MB / 3.389 GB, free: 110.7 MB / 0.6511 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.003601/7.462, allocations: 4.34 MB / 3.393 GB, free: 106.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/7.463, allocations: 419 kB / 3.393 GB, free: 105.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000187/7.463, allocations: 101 kB / 3.393 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/7.463, allocations: 41.08 kB / 3.393 GB, free: 105.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=42): time 2.645e-06/7.463, allocations: 0 / 3.393 GB, free: 105.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.002198/7.465, allocations: 1.303 MB / 3.395 GB, free: 104.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/7.466, allocations: 55.41 kB / 3.395 GB, free: 104.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006773/7.466, allocations: 0.6171 MB / 3.395 GB, free: 103.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/7.466, allocations: 37.7 kB / 3.395 GB, free: 103.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/7.466, allocations: 423.2 kB / 3.396 GB, free: 103.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/7.467, allocations: 164.4 kB / 3.396 GB, free: 103.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/7.467, allocations: 12 kB / 3.396 GB, free: 103.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001075/7.467, allocations: 390.7 kB / 3.396 GB, free: 102.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/7.467, allocations: 173.2 kB / 3.396 GB, free: 102.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/7.467, allocations: 409.7 kB / 3.397 GB, free: 102 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.001354/7.469, allocations: 0.6284 MB / 3.397 GB, free: 101.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/7.469, allocations: 4 kB / 3.397 GB, free: 101.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008203/7.47, allocations: 0.643 MB / 3.398 GB, free: 100.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/7.47, allocations: 11.98 kB / 3.398 GB, free: 100.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/7.47, allocations: 8 kB / 3.398 GB, free: 100.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/7.47, allocations: 8 kB / 3.398 GB, free: 100.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004447/7.47, allocations: 123.8 kB / 3.398 GB, free: 100.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/7.47, allocations: 19.95 kB / 3.398 GB, free: 100.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006295/7.471, allocations: 51.28 kB / 3.398 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.615e-05/7.471, allocations: 24 kB / 3.398 GB, free: 100.5 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003938/7.471, allocations: 273.1 kB / 3.399 GB, free: 100.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/7.471, allocations: 86.69 kB / 3.399 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/7.471, allocations: 99.45 kB / 3.399 GB, free: 100 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/7.471, allocations: 4 kB / 3.399 GB, free: 100 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/7.471, allocations: 0 / 3.399 GB, free: 100 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005814/7.472, allocations: 0.6997 MB / 3.399 GB, free: 99.24 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001984/7.474, allocations: 1.421 MB / 3.401 GB, free: 97.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/7.474, allocations: 0 / 3.401 GB, free: 97.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004379/7.475, allocations: 103.9 kB / 3.401 GB, free: 97.63 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/7.475, allocations: 4 kB / 3.401 GB, free: 97.62 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/7.475, allocations: 12 kB / 3.401 GB, free: 97.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/7.475, allocations: 4.438 kB / 3.401 GB, free: 97.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/7.475, allocations: 11.94 kB / 3.401 GB, free: 97.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009668/7.476, allocations: 1.02 MB / 3.402 GB, free: 96.43 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/7.476, allocations: 204.1 kB / 3.402 GB, free: 96.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.447e-05/7.476, allocations: 15.98 kB / 3.402 GB, free: 96.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005135/7.477, allocations: 47.88 kB / 3.402 GB, free: 96.14 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/7.477, allocations: 31.86 kB / 3.402 GB, free: 96.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/7.477, allocations: 23.98 kB / 3.402 GB, free: 96.09 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000535/7.477, allocations: 0.499 MB / 3.403 GB, free: 95.59 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/7.477, allocations: 0 / 3.403 GB, free: 95.59 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001502/7.479, allocations: 363.9 kB / 3.403 GB, free: 95.24 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 () * 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 (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.004024/7.483, allocations: 4.125 MB / 3.407 GB, free: 91.22 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007822/7.484, allocations: 453.1 kB / 3.408 GB, free: 90.78 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/7.484, allocations: 0 / 3.408 GB, free: 90.78 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000233/7.484, allocations: 208.2 kB / 3.408 GB, free: 90.58 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/7.486, allocations: 457.3 kB / 3.408 GB, free: 90.15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006958/7.493, allocations: 8.797 MB / 3.417 GB, free: 81.09 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/7.493, allocations: 1.062 MB / 3.418 GB, free: 80 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008191/7.494, allocations: 186.7 kB / 3.418 GB, free: 79.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003412/7.494, allocations: 296.8 kB / 3.418 GB, free: 79.54 MB / 0.6511 GB Notification: Performance of SimCode: time 6.172e-06/7.495, allocations: 0 / 3.418 GB, free: 79.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07451/7.569, allocations: 47.22 MB / 3.464 GB, free: 32.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/7.569, allocations: 259 kB / 3.465 GB, free: 32.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.38/10.95, allocations: 2.812 kB / 3.465 GB, free: 32.41 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)