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.6807/0.6807, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 184.8 kB / 187.3 MB, free: 11.88 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.181/1.181, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.0007531/0.0007531, allocations: 99.47 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001564/0.001564, allocations: 262.5 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.306e-05/3.307e-05, allocations: 8 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3165, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.359/3.675, allocations: 1.89 GB / 2.654 GB, free: 117.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/3.675, allocations: 87.45 kB / 2.654 GB, free: 117.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.712/5.387, allocations: 0.6149 GB / 3.269 GB, free: 39.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.082e-06/5.387, allocations: 0 / 3.269 GB, free: 39.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.872e-05/5.387, allocations: 27.98 kB / 3.269 GB, free: 39.41 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001452/5.389, allocations: 1.03 MB / 3.27 GB, free: 38.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/5.389, allocations: 12.03 kB / 3.27 GB, free: 38.32 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.402e-05/5.389, allocations: 102.5 kB / 3.27 GB, free: 38.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007682/5.39, allocations: 190.9 kB / 3.27 GB, free: 38.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007317/5.39, allocations: 0.5367 MB / 3.271 GB, free: 37.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000302/5.391, allocations: 109.2 kB / 3.271 GB, free: 37.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.334e-05/5.391, allocations: 63.95 kB / 3.271 GB, free: 37.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007498/5.392, allocations: 0.7151 MB / 3.272 GB, free: 36.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/5.392, allocations: 4 kB / 3.272 GB, free: 36.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.399e-05/5.392, allocations: 28 kB / 3.272 GB, free: 36.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/5.392, allocations: 20.78 kB / 3.272 GB, free: 36.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00048/5.392, allocations: 388 kB / 3.272 GB, free: 36.04 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.002559/5.395, allocations: 4.199 MB / 3.276 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.798e-05/5.395, allocations: 106.3 kB / 3.276 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.358e-05/5.395, allocations: 71.53 kB / 3.276 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/5.395, allocations: 101.1 kB / 3.277 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/5.395, allocations: 34.56 kB / 3.277 GB, free: 31.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.695e-06/5.395, allocations: 0 / 3.277 GB, free: 31.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.000509/5.396, allocations: 204.7 kB / 3.277 GB, free: 31.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/5.396, allocations: 132.5 kB / 3.277 GB, free: 30.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006203/5.396, allocations: 0.7034 MB / 3.278 GB, free: 30.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/5.396, allocations: 29.7 kB / 3.278 GB, free: 30.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/5.397, allocations: 395 kB / 3.278 GB, free: 29.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/5.397, allocations: 43.47 kB / 3.278 GB, free: 29.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/5.397, allocations: 8 kB / 3.278 GB, free: 29.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.3e-05/5.397, allocations: 326 kB / 3.278 GB, free: 29.35 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/5.397, allocations: 75.97 kB / 3.278 GB, free: 29.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/5.397, allocations: 315.4 kB / 3.279 GB, free: 28.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/5.397, allocations: 139.9 kB / 3.279 GB, free: 28.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/5.397, allocations: 0 / 3.279 GB, free: 28.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006308/5.398, allocations: 440.7 kB / 3.279 GB, free: 28.28 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/5.398, allocations: 13.34 kB / 3.279 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/5.398, allocations: 8 kB / 3.279 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/5.398, allocations: 12 kB / 3.279 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/5.398, allocations: 87.89 kB / 3.279 GB, free: 28.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/5.398, allocations: 15.92 kB / 3.279 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007599/5.399, allocations: 135.2 kB / 3.279 GB, free: 28.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/5.399, allocations: 24 kB / 3.28 GB, free: 27.99 MB / 0.698 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 () * 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 7.386e-05/5.399, allocations: 128.8 kB / 3.28 GB, free: 27.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/5.399, allocations: 75.11 kB / 3.28 GB, free: 27.78 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/5.399, allocations: 78.02 kB / 3.28 GB, free: 27.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/5.399, allocations: 0 / 3.28 GB, free: 27.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/5.399, allocations: 4 kB / 3.28 GB, free: 27.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/5.399, allocations: 0 / 3.28 GB, free: 27.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/5.401, allocations: 1.12 MB / 3.281 GB, free: 26.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/5.401, allocations: 4 kB / 3.281 GB, free: 26.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.52e-05/5.401, allocations: 15.98 kB / 3.281 GB, free: 26.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/5.401, allocations: 4 kB / 3.281 GB, free: 26.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/5.401, allocations: 4 kB / 3.281 GB, free: 26.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/5.401, allocations: 12.38 kB / 3.281 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/5.401, allocations: 3.938 kB / 3.281 GB, free: 26.44 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/5.401, allocations: 373.4 kB / 3.281 GB, free: 25.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/5.401, allocations: 176.1 kB / 3.281 GB, free: 25.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.35e-05/5.401, allocations: 4 kB / 3.281 GB, free: 25.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003807/5.402, allocations: 23.98 kB / 3.281 GB, free: 25.76 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/5.402, allocations: 15.92 kB / 3.281 GB, free: 25.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/5.402, allocations: 8 kB / 3.282 GB, free: 25.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005675/5.402, allocations: 0.5382 MB / 3.282 GB, free: 25.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/5.402, allocations: 0 / 3.282 GB, free: 25.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001034/5.403, allocations: 327.8 kB / 3.282 GB, free: 24.88 MB / 0.698 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 () * 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.002377/5.406, allocations: 3.15 MB / 3.285 GB, free: 21.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003515/5.406, allocations: 201.1 kB / 3.286 GB, free: 21.39 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/5.406, allocations: 0 / 3.286 GB, free: 21.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.174e-05/5.406, allocations: 47.86 kB / 3.286 GB, free: 21.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/5.408, allocations: 363.1 kB / 3.286 GB, free: 21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/5.409, allocations: 0.9216 MB / 3.287 GB, free: 20.01 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/5.41, allocations: 0.9489 MB / 3.288 GB, free: 19.03 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005079/5.41, allocations: 146.1 kB / 3.288 GB, free: 18.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/5.41, allocations: 227.4 kB / 3.288 GB, free: 18.66 MB / 0.698 GB Notification: Performance of SimCode: time 6.52e-07/5.41, allocations: 0 / 3.288 GB, free: 18.66 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.387/5.797, allocations: 47.82 MB / 3.335 GB, free: 127 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001451/5.798, allocations: 227.7 kB / 3.335 GB, free: 126.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.319/9.116, allocations: 0 / 3.335 GB, free: 126.7 MB / 0.698 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)