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.8267/0.8267, allocations: 143.4 MB / 158.3 MB, free: 5.809 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.001312/0.001312, allocations: 177.1 kB / 191.5 MB, free: 5.773 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.696/1.696, allocations: 223.2 MB / 447.7 MB, free: 4.824 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.0009987/0.0009987, allocations: 88.38 kB / 0.5187 GB, free: 1.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002046/0.002046, allocations: 277 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005673/0.0005674, allocations: 17.66 kB / 0.6929 GB, free: 59.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1997, allocations: 82.79 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.566/5.766, allocations: 1.891 GB / 2.665 GB, free: 187.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003438/5.766, allocations: 88.77 kB / 2.665 GB, free: 187.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.378/8.144, allocations: 0.5958 GB / 3.26 GB, free: 140.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.823e-06/8.144, allocations: 3.875 kB / 3.26 GB, free: 140.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001382/8.144, allocations: 32.56 kB / 3.26 GB, free: 140.5 MB / 0.7136 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.004521/8.148, allocations: 1.245 MB / 3.262 GB, free: 139.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/8.148, allocations: 7.719 kB / 3.262 GB, free: 139.8 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005102/8.149, allocations: 122 kB / 3.262 GB, free: 139.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001772/8.151, allocations: 215.4 kB / 3.262 GB, free: 139.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/8.153, allocations: 0.6638 MB / 3.263 GB, free: 139.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.474e-05/8.153, allocations: 58.2 kB / 3.263 GB, free: 139.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002538/8.153, allocations: 76.78 kB / 3.263 GB, free: 139.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/8.155, allocations: 0.9013 MB / 3.264 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/8.155, allocations: 3.594 kB / 3.264 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/8.155, allocations: 34.08 kB / 3.264 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.812e-05/8.155, allocations: 33.98 kB / 3.264 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/8.156, allocations: 0.5893 MB / 3.264 GB, free: 138.7 MB / 0.7136 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.005226/8.162, allocations: 4.554 MB / 3.269 GB, free: 134.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006396/8.162, allocations: 445.4 kB / 3.269 GB, free: 134.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002091/8.162, allocations: 103.4 kB / 3.269 GB, free: 134.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/8.163, allocations: 42.66 kB / 3.269 GB, free: 134.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 2.936e-06/8.163, allocations: 0 / 3.269 GB, free: 134.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.003617/8.166, allocations: 1.545 MB / 3.271 GB, free: 133.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/8.166, allocations: 111.9 kB / 3.271 GB, free: 133 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/8.167, allocations: 0.62 MB / 3.272 GB, free: 132.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.469e-05/8.167, allocations: 40.84 kB / 3.272 GB, free: 132.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003582/8.168, allocations: 418.3 kB / 3.272 GB, free: 132.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/8.168, allocations: 162.4 kB / 3.272 GB, free: 132.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/8.168, allocations: 12 kB / 3.272 GB, free: 132.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001799/8.168, allocations: 390.2 kB / 3.273 GB, free: 131.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/8.168, allocations: 179.2 kB / 3.273 GB, free: 131.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004836/8.169, allocations: 414.2 kB / 3.273 GB, free: 131.3 MB / 0.7136 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.001736/8.171, allocations: 0.6703 MB / 3.274 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/8.171, allocations: 3.5 kB / 3.274 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001104/8.172, allocations: 0.6472 MB / 3.274 GB, free: 130.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/8.172, allocations: 8 kB / 3.274 GB, free: 130.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/8.172, allocations: 5.844 kB / 3.274 GB, free: 130.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.311e-05/8.172, allocations: 12 kB / 3.274 GB, free: 130.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000496/8.172, allocations: 127.8 kB / 3.275 GB, free: 130.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.512e-05/8.172, allocations: 15.92 kB / 3.275 GB, free: 130.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008799/8.173, allocations: 55.39 kB / 3.275 GB, free: 130.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.877e-05/8.173, allocations: 31.98 kB / 3.275 GB, free: 130.2 MB / 0.7136 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 () * Number of clocked 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.0005149/8.174, allocations: 281 kB / 3.275 GB, free: 129.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/8.174, allocations: 79.06 kB / 3.275 GB, free: 129.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002186/8.174, allocations: 87.59 kB / 3.275 GB, free: 129.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/8.174, allocations: 7.984 kB / 3.275 GB, free: 129.7 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/8.174, allocations: 4 kB / 3.275 GB, free: 129.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006791/8.175, allocations: 0.6842 MB / 3.276 GB, free: 128.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002637/8.178, allocations: 1.609 MB / 3.277 GB, free: 127.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/8.178, allocations: 11.67 kB / 3.277 GB, free: 127.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/8.178, allocations: 103.8 kB / 3.277 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/8.178, allocations: 7.953 kB / 3.277 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.834e-05/8.178, allocations: 18.41 kB / 3.277 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/8.178, allocations: 8 kB / 3.277 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/8.178, allocations: 4 kB / 3.277 GB, free: 127.1 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/8.18, allocations: 1.056 MB / 3.279 GB, free: 125.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000436/8.18, allocations: 208.1 kB / 3.279 GB, free: 125.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/8.18, allocations: 8 kB / 3.279 GB, free: 125.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006198/8.181, allocations: 42.38 kB / 3.279 GB, free: 125.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/8.181, allocations: 39.22 kB / 3.279 GB, free: 125.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/8.181, allocations: 20 kB / 3.279 GB, free: 125.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006756/8.182, allocations: 0.499 MB / 3.279 GB, free: 125.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.092e-06/8.182, allocations: 0 / 3.279 GB, free: 125.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001612/8.183, allocations: 374.9 kB / 3.28 GB, free: 124.7 MB / 0.7136 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 (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.004603/8.188, allocations: 4.191 MB / 3.284 GB, free: 120.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008794/8.189, allocations: 472.1 kB / 3.284 GB, free: 120.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/8.189, allocations: 4 kB / 3.284 GB, free: 120.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002492/8.189, allocations: 206.2 kB / 3.284 GB, free: 120.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/8.191, allocations: 452 kB / 3.285 GB, free: 119.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007824/8.199, allocations: 8.962 MB / 3.294 GB, free: 110.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005745/8.2, allocations: 1.04 MB / 3.295 GB, free: 109.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009472/8.201, allocations: 193.2 kB / 3.295 GB, free: 109.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004221/8.201, allocations: 303.3 kB / 3.295 GB, free: 109 MB / 0.7136 GB Notification: Performance of SimCode: time 1.353e-06/8.201, allocations: 0 / 3.295 GB, free: 109 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07919/8.28, allocations: 46.99 MB / 3.341 GB, free: 62.64 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/8.281, allocations: 264.1 kB / 3.341 GB, free: 62.28 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.671/11.95, allocations: 4.016 kB / 3.341 GB, free: 62.28 MB / 0.7136 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)