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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 99.16 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.4/2.4, allocations: 409.2 MB / 0.6838 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003471, allocations: 12 kB / 0.8375 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8213/0.8217, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1626/0.9844, allocations: 155.6 MB / 1.133 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01304/0.9975, allocations: 10.88 MB / 1.143 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008088/0.9983, allocations: 23.81 kB / 1.143 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.9995, allocations: 434 kB / 1.144 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002541/1.002, allocations: 1.032 MB / 1.145 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002005/1.004, allocations: 0.8089 MB / 1.146 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001265/1.005, allocations: 0.8981 MB / 1.147 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006114/1.006, allocations: 0.5028 MB / 1.147 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002216/1.008, allocations: 1.137 MB / 1.148 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003862/1.009, allocations: 326.5 kB / 1.148 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.211e-05/1.009, allocations: 24 kB / 1.148 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/1.01, allocations: 0.6084 MB / 1.149 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000193/1.01, allocations: 227.4 kB / 1.149 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/1.01, allocations: 165.3 kB / 1.149 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000775/1.011, allocations: 0.8145 MB / 1.15 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/1.011, allocations: 0 / 1.15 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.313e-06/1.011, allocations: 0 / 1.15 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.294e-06/1.011, allocations: 0 / 1.15 GB, free: 8.402 MB / 0.9044 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.001116/1.012, allocations: 0.9232 MB / 1.151 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/1.012, allocations: 8.031 kB / 1.151 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.992e-05/1.012, allocations: 102.5 kB / 1.151 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008376/1.013, allocations: 206.8 kB / 1.151 GB, free: 7.105 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000695/1.014, allocations: 0.5055 MB / 1.152 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003219/1.014, allocations: 113.2 kB / 1.152 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-05/1.014, allocations: 52 kB / 1.152 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009903/1.015, allocations: 0.7597 MB / 1.153 GB, free: 5.535 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/1.015, allocations: 7.938 kB / 1.153 GB, free: 5.527 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/1.015, allocations: 28 kB / 1.153 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.029e-05/1.015, allocations: 24.98 kB / 1.153 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008481/1.016, allocations: 476.7 kB / 1.153 GB, free: 5.012 MB / 0.9044 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.003144/1.019, allocations: 4.159 MB / 1.157 GB, free: 0.6367 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/1.019, allocations: 114.4 kB / 1.158 GB, free: 500 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/1.019, allocations: 4 kB / 1.158 GB, free: 496 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/1.019, allocations: 30.56 kB / 1.158 GB, free: 456 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 3.647e-06/1.019, allocations: 0 / 1.158 GB, free: 456 kB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0005851/1.02, allocations: 257.1 kB / 1.158 GB, free: 192 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/1.02, allocations: 128.5 kB / 1.158 GB, free: 32 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009607/1.021, allocations: 0.833 MB / 1.159 GB, free: 15.19 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/1.021, allocations: 33.7 kB / 1.159 GB, free: 15.15 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/1.021, allocations: 394.9 kB / 1.159 GB, free: 14.76 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/1.021, allocations: 39.55 kB / 1.159 GB, free: 14.72 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.311e-05/1.021, allocations: 4 kB / 1.159 GB, free: 14.72 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.514e-05/1.022, allocations: 322 kB / 1.16 GB, free: 14.4 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/1.022, allocations: 115.9 kB / 1.16 GB, free: 14.29 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003939/1.022, allocations: 357.8 kB / 1.16 GB, free: 13.83 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/1.023, allocations: 175.7 kB / 1.16 GB, free: 13.66 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.023, allocations: 0 / 1.16 GB, free: 13.66 MB / 0.92 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008129/1.023, allocations: 492.7 kB / 1.161 GB, free: 13.17 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/1.023, allocations: 12.16 kB / 1.161 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/1.023, allocations: 8 kB / 1.161 GB, free: 13.15 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/1.023, allocations: 8 kB / 1.161 GB, free: 13.14 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/1.024, allocations: 99.81 kB / 1.161 GB, free: 13.04 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/1.024, allocations: 8 kB / 1.161 GB, free: 13.04 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006335/1.024, allocations: 135 kB / 1.161 GB, free: 12.9 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/1.024, allocations: 24 kB / 1.161 GB, free: 12.88 MB / 0.92 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.0002171/1.025, allocations: 233.5 kB / 1.161 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/1.025, allocations: 75.06 kB / 1.161 GB, free: 12.57 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.735e-05/1.025, allocations: 70.09 kB / 1.161 GB, free: 12.5 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/1.025, allocations: 8 kB / 1.161 GB, free: 12.49 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/1.025, allocations: 0 / 1.161 GB, free: 12.49 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.025, allocations: 4 kB / 1.161 GB, free: 12.48 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/1.026, allocations: 1.124 MB / 1.162 GB, free: 11.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/1.026, allocations: 0 / 1.162 GB, free: 11.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.711e-05/1.026, allocations: 20.11 kB / 1.162 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/1.026, allocations: 8 kB / 1.162 GB, free: 11.24 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/1.026, allocations: 4 kB / 1.162 GB, free: 11.24 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/1.026, allocations: 3.938 kB / 1.162 GB, free: 11.23 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.026, allocations: 8.266 kB / 1.162 GB, free: 11.23 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/1.026, allocations: 375.2 kB / 1.163 GB, free: 10.76 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/1.027, allocations: 164.2 kB / 1.163 GB, free: 10.58 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.623e-05/1.027, allocations: 4 kB / 1.163 GB, free: 10.57 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003186/1.027, allocations: 27.91 kB / 1.163 GB, free: 10.55 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/1.027, allocations: 19.94 kB / 1.163 GB, free: 10.53 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/1.027, allocations: 7.953 kB / 1.163 GB, free: 10.52 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007137/1.028, allocations: 0.5849 MB / 1.164 GB, free: 9.938 MB / 0.92 GB Notification: Performance of sort global known variables: time 2e-07/1.028, allocations: 0 / 1.164 GB, free: 9.938 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005096/1.028, allocations: 159.7 kB / 1.164 GB, free: 9.781 MB / 0.92 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.000923/1.029, allocations: 1.606 MB / 1.165 GB, free: 8.102 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004495/1.03, allocations: 229.1 kB / 1.165 GB, free: 7.879 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.03, allocations: 0 / 1.165 GB, free: 7.879 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.089e-05/1.03, allocations: 56.66 kB / 1.166 GB, free: 7.824 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/1.031, allocations: 353.8 kB / 1.166 GB, free: 7.484 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006075/1.037, allocations: 8.485 MB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/1.038, allocations: 0.9527 MB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004821/1.038, allocations: 146.1 kB / 1.175 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/1.039, allocations: 227.4 kB / 1.175 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of SimCode: time 1.673e-06/1.039, allocations: 4 kB / 1.175 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.112/2.15, allocations: 17.27 MB / 1.192 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/2.15, allocations: 268.8 kB / 1.193 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/4.235, allocations: 0 / 1.193 GB, free: 12.18 MB / 0.9512 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) Environment - environmentSimulation: 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