Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.8926/0.8926, allocations: 143.3 MB / 158.3 MB, free: 5.785 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.001087/0.001087, allocations: 185 kB / 191.5 MB, free: 5.754 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.606/1.606, allocations: 223.1 MB / 447.7 MB, free: 4.816 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.0009734/0.0009735, allocations: 91.8 kB / 0.5187 GB, free: 1.172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001851/0.001851, allocations: 274.7 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004375/0.0004376, allocations: 22.59 kB / 0.6929 GB, free: 59.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1867, allocations: 82.79 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.598/5.785, allocations: 1.89 GB / 2.664 GB, free: 138.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/5.785, allocations: 103.1 kB / 2.664 GB, free: 138.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.346/8.131, allocations: 0.6154 GB / 3.279 GB, free: 94.62 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.643e-06/8.131, allocations: 3.938 kB / 3.279 GB, free: 94.62 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001027/8.131, allocations: 22.95 kB / 3.279 GB, free: 94.6 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.003262/8.134, allocations: 1.133 MB / 3.28 GB, free: 93.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/8.134, allocations: 12.02 kB / 3.28 GB, free: 93.42 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002753/8.135, allocations: 98.52 kB / 3.28 GB, free: 93.31 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/8.136, allocations: 190.8 kB / 3.281 GB, free: 93.12 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/8.137, allocations: 0.5251 MB / 3.281 GB, free: 92.56 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003257/8.137, allocations: 117.2 kB / 3.281 GB, free: 92.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.301e-05/8.137, allocations: 60 kB / 3.281 GB, free: 92.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/8.139, allocations: 0.7604 MB / 3.282 GB, free: 91.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/8.139, allocations: 0 / 3.282 GB, free: 91.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.084e-05/8.139, allocations: 31.48 kB / 3.282 GB, free: 91.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-05/8.139, allocations: 28.98 kB / 3.282 GB, free: 91.47 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007654/8.139, allocations: 473.1 kB / 3.282 GB, free: 91 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.00318/8.143, allocations: 4.189 MB / 3.287 GB, free: 86.58 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/8.143, allocations: 98.91 kB / 3.287 GB, free: 86.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/8.143, allocations: 101.1 kB / 3.287 GB, free: 86.33 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/8.143, allocations: 46.52 kB / 3.287 GB, free: 86.28 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.783e-06/8.143, allocations: 0 / 3.287 GB, free: 86.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0006134/8.144, allocations: 240.5 kB / 3.287 GB, free: 86.04 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/8.144, allocations: 128.8 kB / 3.287 GB, free: 85.88 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008423/8.145, allocations: 0.7384 MB / 3.288 GB, free: 85.13 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/8.145, allocations: 25.7 kB / 3.288 GB, free: 85.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/8.145, allocations: 410.9 kB / 3.288 GB, free: 84.69 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/8.145, allocations: 31.55 kB / 3.288 GB, free: 84.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.452e-05/8.145, allocations: 12 kB / 3.288 GB, free: 84.65 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.723e-05/8.145, allocations: 318 kB / 3.289 GB, free: 84.33 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/8.145, allocations: 111.9 kB / 3.289 GB, free: 84.22 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/8.146, allocations: 351.6 kB / 3.289 GB, free: 83.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/8.146, allocations: 168.2 kB / 3.289 GB, free: 83.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/8.146, allocations: 4 kB / 3.289 GB, free: 83.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007607/8.147, allocations: 0.4883 MB / 3.29 GB, free: 83.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/8.147, allocations: 8.75 kB / 3.29 GB, free: 83.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/8.147, allocations: 8 kB / 3.29 GB, free: 83.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/8.147, allocations: 15.95 kB / 3.29 GB, free: 83.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/8.147, allocations: 95.81 kB / 3.29 GB, free: 82.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/8.147, allocations: 12 kB / 3.29 GB, free: 82.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006999/8.148, allocations: 131.2 kB / 3.29 GB, free: 82.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.543e-05/8.148, allocations: 27.28 kB / 3.29 GB, free: 82.81 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0002727/8.148, allocations: 229.5 kB / 3.29 GB, free: 82.58 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/8.148, allocations: 75.06 kB / 3.29 GB, free: 82.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.998e-05/8.148, allocations: 70.02 kB / 3.29 GB, free: 82.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/8.148, allocations: 7.953 kB / 3.29 GB, free: 82.42 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/8.148, allocations: 0 / 3.29 GB, free: 82.42 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/8.148, allocations: 4 kB / 3.29 GB, free: 82.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/8.149, allocations: 1.124 MB / 3.291 GB, free: 81.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/8.149, allocations: 4 kB / 3.291 GB, free: 81.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.342e-05/8.149, allocations: 12 kB / 3.291 GB, free: 81.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/8.15, allocations: 7.984 kB / 3.291 GB, free: 81.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/8.15, allocations: 4 kB / 3.291 GB, free: 81.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/8.15, allocations: 7.938 kB / 3.291 GB, free: 81.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/8.15, allocations: 0 / 3.291 GB, free: 81.16 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/8.15, allocations: 375.5 kB / 3.292 GB, free: 80.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/8.15, allocations: 176 kB / 3.292 GB, free: 80.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.811e-05/8.15, allocations: 8 kB / 3.292 GB, free: 80.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/8.15, allocations: 24 kB / 3.292 GB, free: 80.47 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/8.15, allocations: 19.92 kB / 3.292 GB, free: 80.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/8.15, allocations: 8 kB / 3.292 GB, free: 80.45 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000681/8.151, allocations: 0.581 MB / 3.293 GB, free: 79.87 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/8.151, allocations: 0 / 3.293 GB, free: 79.87 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001315/8.152, allocations: 319.8 kB / 3.293 GB, free: 79.56 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * 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 (10): * Single equations (assignments): 10 * 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.00297/8.155, allocations: 3.143 MB / 3.296 GB, free: 76.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005237/8.156, allocations: 237.1 kB / 3.296 GB, free: 76.06 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/8.156, allocations: 0 / 3.296 GB, free: 76.06 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.729e-05/8.156, allocations: 47.84 kB / 3.296 GB, free: 76.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/8.158, allocations: 376.5 kB / 3.297 GB, free: 75.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005694/8.163, allocations: 8.495 MB / 3.305 GB, free: 66.92 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/8.164, allocations: 0.9527 MB / 3.306 GB, free: 65.94 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006239/8.164, allocations: 138 kB / 3.306 GB, free: 65.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/8.165, allocations: 227.4 kB / 3.306 GB, free: 65.58 MB / 0.7136 GB Notification: Performance of SimCode: time 1.022e-06/8.165, allocations: 0 / 3.306 GB, free: 65.58 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06806/8.233, allocations: 43.52 MB / 3.349 GB, free: 22.45 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/8.233, allocations: 257.9 kB / 3.349 GB, free: 22.09 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.435/11.67, allocations: 2.094 kB / 3.349 GB, free: 22.09 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)