Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8115/0.8115, allocations: 141.8 MB / 149.3 MB, free: 9.215 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 184.6 kB / 182.2 MB, free: 9.434 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008817/0.0008818, allocations: 96.03 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001766/0.001766, allocations: 268.4 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.974e-05/1.975e-05, allocations: 8 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4058, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.527/4.933, allocations: 1.89 GB / 2.648 GB, free: 168 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/4.933, allocations: 87.95 kB / 2.648 GB, free: 167.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.071/7.004, allocations: 0.5888 GB / 3.236 GB, free: 110 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.684e-06/7.004, allocations: 0 / 3.236 GB, free: 110 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.628e-05/7.004, allocations: 20 kB / 3.236 GB, free: 110 MB / 0.698 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.002156/7.006, allocations: 1.126 MB / 3.238 GB, free: 108.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/7.006, allocations: 15.64 kB / 3.238 GB, free: 108.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/7.007, allocations: 210.6 kB / 3.238 GB, free: 108.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/7.008, allocations: 0.6488 MB / 3.238 GB, free: 107.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/7.008, allocations: 24 kB / 3.238 GB, free: 107.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.106e-05/7.008, allocations: 44 kB / 3.238 GB, free: 107.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008594/7.009, allocations: 0.5115 MB / 3.239 GB, free: 107.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009784/7.01, allocations: 0.7901 MB / 3.24 GB, free: 106.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/7.01, allocations: 0 / 3.24 GB, free: 106.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.599e-05/7.01, allocations: 4 kB / 3.24 GB, free: 106.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/7.01, allocations: 29.31 kB / 3.24 GB, free: 106.4 MB / 0.698 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.003382/7.014, allocations: 4.384 MB / 3.244 GB, free: 101.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/7.014, allocations: 417.8 kB / 3.244 GB, free: 101.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/7.014, allocations: 218.9 kB / 3.245 GB, free: 101.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001911/7.015, allocations: 98.12 kB / 3.245 GB, free: 101 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/7.015, allocations: 41.73 kB / 3.245 GB, free: 101 MB / 0.698 GB Notification: Performance of pre-optimization done (n=43): time 2.084e-06/7.015, allocations: 0 / 3.245 GB, free: 101 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.002227/7.017, allocations: 1.313 MB / 3.246 GB, free: 99.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/7.017, allocations: 106.8 kB / 3.246 GB, free: 99.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/7.017, allocations: 438.3 kB / 3.247 GB, free: 99.06 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/7.017, allocations: 25.7 kB / 3.247 GB, free: 99.03 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/7.018, allocations: 427 kB / 3.247 GB, free: 98.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.506e-05/7.018, allocations: 157.8 kB / 3.247 GB, free: 98.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/7.018, allocations: 0 / 3.247 GB, free: 98.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001072/7.018, allocations: 370.8 kB / 3.247 GB, free: 98.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/7.018, allocations: 165.5 kB / 3.248 GB, free: 97.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/7.018, allocations: 399.2 kB / 3.248 GB, free: 97.42 MB / 0.698 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.001381/7.02, allocations: 0.6259 MB / 3.249 GB, free: 96.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/7.02, allocations: 3.953 kB / 3.249 GB, free: 96.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007279/7.021, allocations: 0.5749 MB / 3.249 GB, free: 96.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/7.021, allocations: 12.03 kB / 3.249 GB, free: 96.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/7.021, allocations: 4 kB / 3.249 GB, free: 96.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/7.021, allocations: 12 kB / 3.249 GB, free: 96.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/7.021, allocations: 131.8 kB / 3.249 GB, free: 96.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/7.021, allocations: 8 kB / 3.249 GB, free: 96.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005822/7.022, allocations: 39.81 kB / 3.249 GB, free: 95.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/7.022, allocations: 28 kB / 3.249 GB, free: 95.96 MB / 0.698 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 () * 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.0001289/7.022, allocations: 132.7 kB / 3.25 GB, free: 95.82 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005414/7.023, allocations: 417 kB / 3.25 GB, free: 95.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/7.023, allocations: 67.16 kB / 3.25 GB, free: 95.35 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/7.023, allocations: 70.19 kB / 3.25 GB, free: 95.28 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/7.023, allocations: 4.062 kB / 3.25 GB, free: 95.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/7.023, allocations: 11.83 kB / 3.25 GB, free: 95.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005183/7.023, allocations: 0.6598 MB / 3.251 GB, free: 94.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/7.025, allocations: 1.464 MB / 3.252 GB, free: 92.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/7.025, allocations: 4.453 kB / 3.252 GB, free: 92.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004216/7.026, allocations: 107.8 kB / 3.252 GB, free: 92.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/7.026, allocations: 8 kB / 3.252 GB, free: 92.86 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/7.026, allocations: 4 kB / 3.252 GB, free: 92.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/7.026, allocations: 11.94 kB / 3.252 GB, free: 92.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/7.026, allocations: 4 kB / 3.252 GB, free: 92.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008708/7.027, allocations: 0.9911 MB / 3.253 GB, free: 91.69 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002124/7.027, allocations: 184.4 kB / 3.253 GB, free: 91.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.251e-05/7.027, allocations: 12.09 kB / 3.253 GB, free: 91.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004196/7.027, allocations: 31.81 kB / 3.253 GB, free: 91.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/7.028, allocations: 47.83 kB / 3.254 GB, free: 91.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/7.028, allocations: 20 kB / 3.254 GB, free: 91.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003069/7.028, allocations: 322.9 kB / 3.254 GB, free: 91.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/7.028, allocations: 0 / 3.254 GB, free: 91.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001132/7.029, allocations: 296 kB / 3.254 GB, free: 90.78 MB / 0.698 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 () * 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.003456/7.033, allocations: 4.339 MB / 3.258 GB, free: 86.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006829/7.033, allocations: 429 kB / 3.259 GB, free: 86.04 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/7.033, allocations: 0 / 3.259 GB, free: 86.04 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002077/7.033, allocations: 191.7 kB / 3.259 GB, free: 85.85 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/7.035, allocations: 305.3 kB / 3.259 GB, free: 85.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/7.038, allocations: 1.436 MB / 3.261 GB, free: 84.03 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/7.038, allocations: 1.046 MB / 3.262 GB, free: 82.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005888/7.039, allocations: 169.2 kB / 3.262 GB, free: 82.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/7.039, allocations: 283.3 kB / 3.262 GB, free: 82.51 MB / 0.698 GB Notification: Performance of SimCode: time 7.62e-07/7.039, allocations: 4 kB / 3.262 GB, free: 82.51 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05699/7.096, allocations: 29.14 MB / 3.291 GB, free: 53.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/7.096, allocations: 225 kB / 3.291 GB, free: 53.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.292/10.39, allocations: 1.562 kB / 3.291 GB, free: 53.2 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)