Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.19/2.19, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001045/0.001046, allocations: 172.9 kB / 492.3 MB, free: 0.6172 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.5/1.5, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0009025/0.0009023, allocations: 92.34 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.659e-05/2.66e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2417, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.253/5.494, allocations: 1.922 GB / 3.134 GB, free: 349.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/5.495, allocations: 90.02 kB / 3.134 GB, free: 349.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.576/7.071, allocations: 373.8 MB / 3.499 GB, free: 320 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.465e-06/7.071, allocations: 3.594 kB / 3.499 GB, free: 320 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.746e-05/7.071, allocations: 13.22 kB / 3.499 GB, free: 320 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001903/7.073, allocations: 0.8882 MB / 3.5 GB, free: 319.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/7.073, allocations: 8.719 kB / 3.5 GB, free: 319.6 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/7.073, allocations: 80.42 kB / 3.5 GB, free: 319.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/7.074, allocations: 169.6 kB / 3.5 GB, free: 319.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/7.075, allocations: 0.552 MB / 3.501 GB, free: 319.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.793e-05/7.076, allocations: 37.47 kB / 3.501 GB, free: 319.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.727e-05/7.076, allocations: 45.78 kB / 3.501 GB, free: 319.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000909/7.077, allocations: 423.9 kB / 3.501 GB, free: 319.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/7.077, allocations: 0.5625 kB / 3.501 GB, free: 319.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.848e-05/7.077, allocations: 18.25 kB / 3.501 GB, free: 319.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/7.077, allocations: 20.42 kB / 3.501 GB, free: 319.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000716/7.077, allocations: 362.8 kB / 3.502 GB, free: 319.3 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.003221/7.081, allocations: 2.026 MB / 3.504 GB, free: 318.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/7.081, allocations: 272.1 kB / 3.504 GB, free: 318.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/7.081, allocations: 168.7 kB / 3.504 GB, free: 318.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003001/7.082, allocations: 194.1 kB / 3.504 GB, free: 318.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/7.082, allocations: 44.92 kB / 3.504 GB, free: 318.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=30): time 2.275e-06/7.082, allocations: 0 / 3.504 GB, free: 318.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=30): time 0.001111/7.083, allocations: 386.3 kB / 3.505 GB, free: 318 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/7.083, allocations: 57.03 kB / 3.505 GB, free: 317.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005647/7.084, allocations: 382.2 kB / 3.505 GB, free: 317.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/7.084, allocations: 33.67 kB / 3.505 GB, free: 317.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/7.084, allocations: 280.1 kB / 3.505 GB, free: 317.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.167e-05/7.084, allocations: 106.7 kB / 3.506 GB, free: 317.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/7.084, allocations: 9.125 kB / 3.506 GB, free: 317.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001272/7.084, allocations: 354.9 kB / 3.506 GB, free: 317.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/7.084, allocations: 108.1 kB / 3.506 GB, free: 317.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/7.085, allocations: 197.6 kB / 3.506 GB, free: 317.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/7.085, allocations: 143.2 kB / 3.506 GB, free: 317.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/7.085, allocations: 0 / 3.506 GB, free: 317.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000725/7.086, allocations: 378.5 kB / 3.507 GB, free: 317.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001621/7.086, allocations: 0.5268 MB / 3.507 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/7.086, allocations: 4.812 kB / 3.507 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/7.086, allocations: 4.375 kB / 3.507 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/7.086, allocations: 74.33 kB / 3.507 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/7.086, allocations: 4.219 kB / 3.507 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006262/7.087, allocations: 62.19 kB / 3.507 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/7.087, allocations: 17.34 kB / 3.507 GB, free: 316.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/7.087, allocations: 3.906 kB / 3.507 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005462/7.087, allocations: 304.7 kB / 3.508 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/7.088, allocations: 1.719 kB / 3.508 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/7.088, allocations: 7.406 kB / 3.508 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003317/7.088, allocations: 74.97 kB / 3.508 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/7.088, allocations: 4.734 kB / 3.508 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000491/7.088, allocations: 63.94 kB / 3.508 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/7.088, allocations: 16.52 kB / 3.508 GB, free: 316.6 MB / 1.151 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 () * 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.0001251/7.089, allocations: 121.9 kB / 3.508 GB, free: 316.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.612e-05/7.089, allocations: 51.03 kB / 3.508 GB, free: 316.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008628/7.09, allocations: 390.9 kB / 3.508 GB, free: 316.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/7.09, allocations: 2.219 kB / 3.508 GB, free: 316.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/7.09, allocations: 2.438 kB / 3.508 GB, free: 316.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005795/7.09, allocations: 410.1 kB / 3.509 GB, free: 316.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/7.092, allocations: 1.098 MB / 3.51 GB, free: 315.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/7.092, allocations: 2.344 kB / 3.51 GB, free: 315.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/7.092, allocations: 62.72 kB / 3.51 GB, free: 315.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002342/7.093, allocations: 47.03 kB / 3.51 GB, free: 315.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/7.093, allocations: 12.5 kB / 3.51 GB, free: 315.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/7.094, allocations: 1.431 MB / 3.511 GB, free: 314.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/7.094, allocations: 2.312 kB / 3.511 GB, free: 314.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009721/7.095, allocations: 0.7332 MB / 3.512 GB, free: 314.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/7.095, allocations: 165.5 kB / 3.512 GB, free: 314.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.228e-05/7.095, allocations: 13.11 kB / 3.512 GB, free: 314.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000455/7.096, allocations: 38.08 kB / 3.512 GB, free: 314.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/7.096, allocations: 35.69 kB / 3.512 GB, free: 314.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-05/7.096, allocations: 13 kB / 3.512 GB, free: 314.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005152/7.096, allocations: 306.2 kB / 3.513 GB, free: 314 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.91e-07/7.096, allocations: 1.281 kB / 3.513 GB, free: 314 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001767/7.098, allocations: 418.6 kB / 3.513 GB, free: 314 MB / 1.151 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 () * 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.004291/7.102, allocations: 2.779 MB / 3.516 GB, free: 312.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001126/7.103, allocations: 456.3 kB / 3.516 GB, free: 312.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/7.103, allocations: 3.031 kB / 3.516 GB, free: 312.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00055/7.104, allocations: 273 kB / 3.516 GB, free: 312.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/7.106, allocations: 302.5 kB / 3.517 GB, free: 312.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/7.108, allocations: 0.9841 MB / 3.518 GB, free: 312.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007227/7.109, allocations: 0.9135 MB / 3.519 GB, free: 311.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009246/7.11, allocations: 208 kB / 3.519 GB, free: 311.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/7.11, allocations: 173.6 kB / 3.519 GB, free: 311.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.884e-06/7.11, allocations: 0 / 3.519 GB, free: 311.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3595/7.47, allocations: 35.16 MB / 3.553 GB, free: 311 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/7.47, allocations: 232.6 kB / 3.553 GB, free: 310.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.334/10.8, allocations: 0 / 3.553 GB, free: 310.7 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat does not exist to compare? outputFormat=mat