Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.227/2.227, allocations: 390.5 MB / 398 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 173 kB / 491.2 MB, free: 1.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.659/1.659, allocations: 221.5 MB / 0.7868 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008938/0.0008938, allocations: 107.8 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.948e-05/1.951e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2981, allocations: 143 MB / 1.212 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.486/5.784, allocations: 1.93 GB / 3.142 GB, free: 399.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/5.784, allocations: 83.95 kB / 3.142 GB, free: 399.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.201/7.985, allocations: 0.6075 GB / 3.75 GB, free: 218.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.584e-06/7.985, allocations: 0 / 3.75 GB, free: 218.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000103/7.985, allocations: 20 kB / 3.75 GB, free: 218.4 MB / 1.151 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.003089/7.989, allocations: 1.035 MB / 3.751 GB, free: 217.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.124e-05/7.989, allocations: 12.03 kB / 3.751 GB, free: 217.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/7.99, allocations: 186.9 kB / 3.751 GB, free: 217.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/7.991, allocations: 0.5466 MB / 3.751 GB, free: 216.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003502/7.992, allocations: 85.25 kB / 3.751 GB, free: 216.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/7.992, allocations: 32 kB / 3.752 GB, free: 216.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007595/7.993, allocations: 326.5 kB / 3.752 GB, free: 216.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/7.994, allocations: 0.6366 MB / 3.752 GB, free: 215.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/7.994, allocations: 0 / 3.752 GB, free: 215.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.649e-05/7.994, allocations: 7.938 kB / 3.752 GB, free: 215.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/7.994, allocations: 24.17 kB / 3.752 GB, free: 215.4 MB / 1.151 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.003927/7.998, allocations: 4.023 MB / 3.756 GB, free: 211.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/7.998, allocations: 94.92 kB / 3.756 GB, free: 211 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.63e-05/7.998, allocations: 67.5 kB / 3.757 GB, free: 210.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001901/7.998, allocations: 93.11 kB / 3.757 GB, free: 210.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/7.998, allocations: 46.48 kB / 3.757 GB, free: 210.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 2.054e-06/7.998, allocations: 0 / 3.757 GB, free: 210.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0006413/7.999, allocations: 156.9 kB / 3.757 GB, free: 210.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/7.999, allocations: 132.5 kB / 3.757 GB, free: 210.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005927/7.999, allocations: 454.2 kB / 3.757 GB, free: 210 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/8, allocations: 33.77 kB / 3.757 GB, free: 210 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/8, allocations: 418.8 kB / 3.758 GB, free: 209.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/8, allocations: 35.55 kB / 3.758 GB, free: 209.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.414e-05/8, allocations: 0 / 3.758 GB, free: 209.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.983e-05/8, allocations: 358.8 kB / 3.758 GB, free: 209.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/8, allocations: 67.98 kB / 3.758 GB, free: 209.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/8, allocations: 311.7 kB / 3.759 GB, free: 208.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/8.001, allocations: 139.9 kB / 3.759 GB, free: 208.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/8.001, allocations: 0 / 3.759 GB, free: 208.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005996/8.001, allocations: 377.2 kB / 3.759 GB, free: 208.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/8.001, allocations: 8 kB / 3.759 GB, free: 208.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/8.001, allocations: 8 kB / 3.759 GB, free: 208.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/8.001, allocations: 12 kB / 3.759 GB, free: 208.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/8.002, allocations: 87.83 kB / 3.759 GB, free: 208 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/8.002, allocations: 15.94 kB / 3.759 GB, free: 208 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006227/8.002, allocations: 95.66 kB / 3.759 GB, free: 207.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.017e-05/8.002, allocations: 31.92 kB / 3.759 GB, free: 207.9 MB / 1.151 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 0.0001127/8.002, allocations: 120.8 kB / 3.759 GB, free: 207.8 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000253/8.003, allocations: 152.8 kB / 3.76 GB, free: 207.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/8.003, allocations: 55.41 kB / 3.76 GB, free: 207.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.021e-05/8.003, allocations: 56.25 kB / 3.76 GB, free: 207.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/8.003, allocations: 0 / 3.76 GB, free: 207.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/8.003, allocations: 0 / 3.76 GB, free: 207.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/8.003, allocations: 7.984 kB / 3.76 GB, free: 207.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/8.004, allocations: 1.02 MB / 3.761 GB, free: 206.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/8.004, allocations: 4 kB / 3.761 GB, free: 206.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.776e-05/8.004, allocations: 19.98 kB / 3.761 GB, free: 206.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/8.004, allocations: 4.312 kB / 3.761 GB, free: 206.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/8.004, allocations: 12 kB / 3.761 GB, free: 206.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.451e-06/8.004, allocations: 7.953 kB / 3.761 GB, free: 206.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/8.004, allocations: 4 kB / 3.761 GB, free: 206.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/8.005, allocations: 339.5 kB / 3.761 GB, free: 205.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/8.005, allocations: 140.4 kB / 3.761 GB, free: 205.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.843e-05/8.005, allocations: 4 kB / 3.761 GB, free: 205.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/8.005, allocations: 27.97 kB / 3.761 GB, free: 205.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/8.005, allocations: 15.89 kB / 3.761 GB, free: 205.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/8.005, allocations: 4 kB / 3.761 GB, free: 205.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003316/8.005, allocations: 338.9 kB / 3.762 GB, free: 205.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.5e-07/8.005, allocations: 0 / 3.762 GB, free: 205.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001112/8.007, allocations: 295.4 kB / 3.762 GB, free: 205.1 MB / 1.151 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.003215/8.01, allocations: 3.312 MB / 3.765 GB, free: 201.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003508/8.01, allocations: 184.2 kB / 3.765 GB, free: 201.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/8.01, allocations: 0 / 3.765 GB, free: 201.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 5.09e-05/8.01, allocations: 39.92 kB / 3.765 GB, free: 201.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009736/8.011, allocations: 206.9 kB / 3.765 GB, free: 201.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/8.013, allocations: 0.8653 MB / 3.766 GB, free: 200.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/8.013, allocations: 0.9556 MB / 3.767 GB, free: 199.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003696/8.014, allocations: 104.5 kB / 3.767 GB, free: 199.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/8.014, allocations: 211.4 kB / 3.768 GB, free: 199 MB / 1.151 GB Notification: Performance of SimCode: time 1.683e-06/8.014, allocations: 3.938 kB / 3.768 GB, free: 199 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05171/8.066, allocations: 24.5 MB / 3.792 GB, free: 174.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/8.066, allocations: 212.9 kB / 3.792 GB, free: 174.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.215/11.28, allocations: 0 / 3.792 GB, free: 174.3 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat does not exist to compare? outputFormat=mat