Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.MixingVolumeSteadyStateMass,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",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.001134/0.001134, allocations: 99.86 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.001262/0.001262, allocations: 177.3 kB / 15.94 MB, free: 228 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.624/1.624, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.86/2.86, allocations: 409.2 MB / 0.6838 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003887, allocations: 11.98 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068/1.068, allocations: 146.8 MB / 0.9809 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.2041/1.272, allocations: 147.8 MB / 1.125 GB, free: 2.051 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009088/1.281, allocations: 4.291 MB / 1.129 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007668/1.282, allocations: 15.88 kB / 1.129 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/1.283, allocations: 390.2 kB / 1.13 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003529/1.287, allocations: 1.188 MB / 1.131 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002619/1.29, allocations: 0.7972 MB / 1.132 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002173/1.292, allocations: 0.9409 MB / 1.133 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006506/1.292, allocations: 408.4 kB / 1.133 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008676/1.293, allocations: 478.4 kB / 1.134 GB, free: 9.555 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004159/1.294, allocations: 310.7 kB / 1.134 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.303e-05/1.294, allocations: 27.94 kB / 1.134 GB, free: 9.223 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/1.295, allocations: 0.6084 MB / 1.134 GB, free: 8.613 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002284/1.296, allocations: 187.5 kB / 1.135 GB, free: 8.43 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001661/1.296, allocations: 149.4 kB / 1.135 GB, free: 8.277 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0009551/1.297, allocations: 0.7716 MB / 1.136 GB, free: 7.504 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/1.297, allocations: 0 / 1.136 GB, free: 7.504 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.613e-06/1.297, allocations: 0 / 1.136 GB, free: 7.504 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.245e-06/1.297, allocations: 4 kB / 1.136 GB, free: 7.5 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001454/1.298, allocations: 0.853 MB / 1.136 GB, free: 6.598 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/1.298, allocations: 8.031 kB / 1.136 GB, free: 6.59 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/1.298, allocations: 90.45 kB / 1.136 GB, free: 6.492 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/1.299, allocations: 179 kB / 1.137 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009378/1.3, allocations: 0.5054 MB / 1.137 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.913e-05/1.3, allocations: 36.94 kB / 1.137 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.923e-05/1.301, allocations: 44 kB / 1.137 GB, free: 5.691 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008757/1.301, allocations: 466.4 kB / 1.138 GB, free: 5.23 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/1.301, allocations: 0 / 1.138 GB, free: 5.23 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.977e-05/1.302, allocations: 16 kB / 1.138 GB, free: 5.215 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/1.302, allocations: 17 kB / 1.138 GB, free: 5.199 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/1.303, allocations: 427.7 kB / 1.138 GB, free: 4.781 MB / 0.8887 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.003743/1.306, allocations: 2.024 MB / 1.14 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008162/1.307, allocations: 310.7 kB / 1.14 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.132e-05/1.307, allocations: 11.98 kB / 1.14 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/1.307, allocations: 38.55 kB / 1.14 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=30): time 7.504e-06/1.307, allocations: 0 / 1.14 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30): time 0.002286/1.31, allocations: 0.6559 MB / 1.141 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/1.31, allocations: 55.41 kB / 1.141 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000722/1.31, allocations: 445.9 kB / 1.142 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.882e-05/1.311, allocations: 33.7 kB / 1.142 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/1.311, allocations: 272.3 kB / 1.142 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/1.311, allocations: 114.4 kB / 1.142 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/1.311, allocations: 8 kB / 1.142 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.311, allocations: 362.7 kB / 1.142 GB, free: 216 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/1.312, allocations: 127.9 kB / 1.142 GB, free: 88 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/1.312, allocations: 210.3 kB / 1.143 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004475/1.313, allocations: 156.5 kB / 1.143 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/1.313, allocations: 0 / 1.143 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008973/1.313, allocations: 408.8 kB / 1.143 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.000186/1.314, allocations: 0.5333 MB / 1.144 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.314, allocations: 3.938 kB / 1.144 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/1.314, allocations: 7.938 kB / 1.144 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/1.314, allocations: 71.89 kB / 1.144 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/1.314, allocations: 4 kB / 1.144 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005491/1.315, allocations: 66.27 kB / 1.144 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/1.315, allocations: 12 kB / 1.144 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/1.315, allocations: 5.094 kB / 1.144 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006347/1.315, allocations: 343.7 kB / 1.144 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/1.315, allocations: 0 / 1.144 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.952e-06/1.315, allocations: 4.062 kB / 1.144 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/1.316, allocations: 76.06 kB / 1.144 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/1.316, allocations: 7.938 kB / 1.144 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004764/1.316, allocations: 55.8 kB / 1.144 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/1.316, allocations: 19.95 kB / 1.144 GB, free: 14.06 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (37): * Single equations (assignments): 37 * 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.0002732/1.316, allocations: 281 kB / 1.145 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/1.317, allocations: 51.34 kB / 1.145 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008327/1.317, allocations: 437.1 kB / 1.145 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/1.317, allocations: 7.953 kB / 1.145 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/1.317, allocations: 0 / 1.145 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006715/1.318, allocations: 457.4 kB / 1.145 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/1.32, allocations: 1.141 MB / 1.147 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.32, allocations: 0 / 1.147 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/1.32, allocations: 52.19 kB / 1.147 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002122/1.32, allocations: 60.75 kB / 1.147 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/1.32, allocations: 8 kB / 1.147 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/1.322, allocations: 1.449 MB / 1.148 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.322, allocations: 4.031 kB / 1.148 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/1.323, allocations: 0.7866 MB / 1.149 GB, free: 9 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/1.323, allocations: 172.4 kB / 1.149 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.295e-05/1.323, allocations: 8 kB / 1.149 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004367/1.323, allocations: 35.95 kB / 1.149 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/1.324, allocations: 27.97 kB / 1.149 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/1.324, allocations: 15.94 kB / 1.149 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003219/1.324, allocations: 318.8 kB / 1.149 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/1.324, allocations: 0 / 1.149 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008254/1.325, allocations: 307.2 kB / 1.15 GB, free: 8.117 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001718/1.326, allocations: 1.889 MB / 1.152 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009111/1.327, allocations: 499.9 kB / 1.152 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.327, allocations: 0 / 1.152 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004649/1.328, allocations: 300.2 kB / 1.152 GB, free: 5.367 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/1.329, allocations: 307.6 kB / 1.153 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006369/1.336, allocations: 3.817 MB / 1.156 GB, free: 1.168 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005629/1.336, allocations: 0.9172 MB / 1.157 GB, free: 228 kB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007225/1.337, allocations: 160.4 kB / 1.157 GB, free: 64 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003067/1.337, allocations: 179.5 kB / 1.158 GB, free: 15.88 MB / 0.92 GB Notification: Performance of SimCode: time 1.112e-06/1.337, allocations: 3.938 kB / 1.158 GB, free: 15.88 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03046/1.368, allocations: 14.49 MB / 1.172 GB, free: 1.734 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/1.368, allocations: 269.9 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.618/3.986, allocations: 3.75 kB / 1.172 GB, free: 1.375 MB / 0.92 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat does not exist to compare? outputFormat=mat