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.768/0.768, allocations: 127.4 MB / 134.9 MB, free: 3.449 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.001141/0.00114, allocations: 178 kB / 164.6 MB, free: 11.6 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.589/1.589, allocations: 205.2 MB / 399.5 MB, free: 13.5 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.0007742/0.0007742, allocations: 99.53 kB / 476.7 MB, free: 1.449 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.148e-05, allocations: 5.438 kB / 0.5467 GB, free: 95.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1716, allocations: 76.78 MB / 0.6216 GB, free: 42.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.371/5.543, allocations: 2.161 GB / 2.783 GB, free: 185.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003542/5.544, allocations: 84.7 kB / 2.783 GB, free: 185.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.024/7.568, allocations: 0.5801 GB / 3.363 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.473e-06/7.568, allocations: 0 / 3.363 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.162e-05/7.568, allocations: 34.39 kB / 3.363 GB, free: 127.1 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.002379/7.57, allocations: 1.133 MB / 3.364 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/7.57, allocations: 13.28 kB / 3.364 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/7.572, allocations: 203.7 kB / 3.364 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/7.573, allocations: 0.6742 MB / 3.365 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/7.573, allocations: 25.77 kB / 3.365 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.676e-05/7.573, allocations: 47.94 kB / 3.365 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000899/7.574, allocations: 0.5204 MB / 3.366 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/7.575, allocations: 0.7712 MB / 3.366 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/7.575, allocations: 3.062 kB / 3.366 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.819e-05/7.575, allocations: 2.875 kB / 3.366 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-05/7.575, allocations: 29.5 kB / 3.366 GB, free: 125.9 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.003517/7.579, allocations: 4.135 MB / 3.37 GB, free: 123 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005496/7.579, allocations: 390.4 kB / 3.371 GB, free: 123 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/7.58, allocations: 200.5 kB / 3.371 GB, free: 123 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002182/7.58, allocations: 107.6 kB / 3.371 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/7.58, allocations: 41.12 kB / 3.371 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=42): time 3.437e-06/7.58, allocations: 0 / 3.371 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.002095/7.582, allocations: 1.067 MB / 3.372 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/7.582, allocations: 59.22 kB / 3.372 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004828/7.583, allocations: 436.9 kB / 3.373 GB, free: 122 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/7.583, allocations: 29.39 kB / 3.373 GB, free: 122 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/7.583, allocations: 427.7 kB / 3.373 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/7.583, allocations: 153.4 kB / 3.373 GB, free: 121.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/7.583, allocations: 0 / 3.373 GB, free: 121.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001332/7.583, allocations: 370.4 kB / 3.374 GB, free: 121.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/7.583, allocations: 164.6 kB / 3.374 GB, free: 121.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003658/7.584, allocations: 383.3 kB / 3.374 GB, free: 120.8 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.00136/7.585, allocations: 0.6221 MB / 3.375 GB, free: 120.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/7.585, allocations: 0 / 3.375 GB, free: 120.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007923/7.586, allocations: 0.5643 MB / 3.375 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/7.586, allocations: 8.969 kB / 3.375 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/7.586, allocations: 8.438 kB / 3.375 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/7.586, allocations: 11.75 kB / 3.375 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004492/7.587, allocations: 124 kB / 3.375 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/7.587, allocations: 15.38 kB / 3.375 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005731/7.587, allocations: 41.23 kB / 3.375 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.444e-05/7.587, allocations: 30.77 kB / 3.375 GB, free: 120.3 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.0001829/7.587, allocations: 131.3 kB / 3.376 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005673/7.588, allocations: 393.7 kB / 3.376 GB, free: 120 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.5e-05/7.588, allocations: 63.31 kB / 3.376 GB, free: 120 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/7.588, allocations: 66.97 kB / 3.376 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/7.588, allocations: 10.81 kB / 3.376 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/7.588, allocations: 3.953 kB / 3.376 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005711/7.589, allocations: 0.6648 MB / 3.377 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/7.591, allocations: 1.283 MB / 3.378 GB, free: 118.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/7.591, allocations: 3.406 kB / 3.378 GB, free: 118.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/7.591, allocations: 102.7 kB / 3.378 GB, free: 118.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/7.591, allocations: 5.969 kB / 3.378 GB, free: 118.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/7.591, allocations: 10.78 kB / 3.378 GB, free: 118.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/7.591, allocations: 3.906 kB / 3.378 GB, free: 118.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/7.591, allocations: 9.531 kB / 3.378 GB, free: 118.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009136/7.592, allocations: 0.9518 MB / 3.379 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002159/7.592, allocations: 192.7 kB / 3.379 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.36e-05/7.592, allocations: 7.562 kB / 3.379 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004597/7.593, allocations: 37.31 kB / 3.379 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/7.593, allocations: 36.28 kB / 3.379 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/7.593, allocations: 18.11 kB / 3.379 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003337/7.593, allocations: 330.2 kB / 3.38 GB, free: 117.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/7.593, allocations: 0 / 3.38 GB, free: 117.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001139/7.594, allocations: 293.9 kB / 3.38 GB, free: 117.5 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.00415/7.599, allocations: 4.254 MB / 3.384 GB, free: 114.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008258/7.599, allocations: 418.8 kB / 3.385 GB, free: 114.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/7.599, allocations: 0 / 3.385 GB, free: 114.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/7.6, allocations: 190.6 kB / 3.385 GB, free: 114.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/7.601, allocations: 313.4 kB / 3.385 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002814/7.604, allocations: 1.431 MB / 3.386 GB, free: 114 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/7.605, allocations: 1.049 MB / 3.387 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006282/7.605, allocations: 161.9 kB / 3.388 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003226/7.606, allocations: 283.8 kB / 3.388 GB, free: 113 MB / 0.6511 GB Notification: Performance of SimCode: time 1.001e-06/7.606, allocations: 0 / 3.388 GB, free: 113 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05825/7.664, allocations: 29.38 MB / 3.417 GB, free: 85.72 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/7.664, allocations: 214.4 kB / 3.417 GB, free: 85.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.976/10.64, allocations: 3.375 kB / 3.417 GB, free: 85.43 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)