Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",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.207/2.207, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001365/0.001365, allocations: 180.8 kB / 492.3 MB, free: 0.6133 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.495/1.495, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0009133/0.0009131, allocations: 83.05 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.356e-05/3.371e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2605, allocations: 142.4 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.091/5.352, allocations: 1.93 GB / 3.143 GB, free: 400 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/5.352, allocations: 89.78 kB / 3.143 GB, free: 400 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.671/9.023, allocations: 1.158 GB / 4.301 GB, free: 84 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.245e-06/9.023, allocations: 0 / 4.301 GB, free: 84 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001712/9.024, allocations: 31.98 kB / 4.301 GB, free: 83.97 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: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.004323/9.028, allocations: 1.524 MB / 4.302 GB, free: 82.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/9.028, allocations: 8.031 kB / 4.302 GB, free: 82.39 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003787/9.028, allocations: 139.6 kB / 4.302 GB, free: 82.25 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002465/9.031, allocations: 421.9 kB / 4.303 GB, free: 81.83 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003162/9.034, allocations: 1.179 MB / 4.304 GB, free: 80.61 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009201/9.035, allocations: 261.8 kB / 4.304 GB, free: 80.35 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/9.035, allocations: 88.34 kB / 4.304 GB, free: 80.27 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/9.037, allocations: 1.116 MB / 4.305 GB, free: 79.04 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/9.037, allocations: 3.938 kB / 4.305 GB, free: 79.04 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.905e-05/9.037, allocations: 43.94 kB / 4.305 GB, free: 78.99 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.182e-05/9.037, allocations: 33.31 kB / 4.305 GB, free: 78.96 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/9.038, allocations: 0.6977 MB / 4.306 GB, free: 78.26 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.006794/9.045, allocations: 5.665 MB / 4.312 GB, free: 72.32 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003658/9.046, allocations: 251.6 kB / 4.312 GB, free: 72.02 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/9.046, allocations: 145.2 kB / 4.312 GB, free: 71.86 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/9.046, allocations: 93.09 kB / 4.312 GB, free: 71.75 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/9.046, allocations: 46.72 kB / 4.312 GB, free: 71.69 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009556/9.047, allocations: 119.2 kB / 4.312 GB, free: 71.57 MB / 1.151 GB Notification: Performance of pre-optimization done (n=20): time 4.158e-06/9.047, allocations: 4 kB / 4.312 GB, free: 71.57 MB / 1.151 GB Notification: Performance of matching and sorting (n=20): time 0.001067/9.048, allocations: 375.8 kB / 4.313 GB, free: 71.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/9.048, allocations: 188 kB / 4.313 GB, free: 70.97 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/9.049, allocations: 1.028 MB / 4.314 GB, free: 69.93 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/9.05, allocations: 29.7 kB / 4.314 GB, free: 69.89 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003479/9.05, allocations: 0.6205 MB / 4.314 GB, free: 69.26 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.579e-05/9.05, allocations: 78.98 kB / 4.315 GB, free: 69.18 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/9.05, allocations: 8 kB / 4.315 GB, free: 69.18 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.854e-05/9.05, allocations: 333.9 kB / 4.315 GB, free: 68.84 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/9.05, allocations: 145 kB / 4.315 GB, free: 68.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/9.051, allocations: 464.5 kB / 4.315 GB, free: 68.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/9.051, allocations: 208.2 kB / 4.316 GB, free: 67.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/9.051, allocations: 0 / 4.316 GB, free: 67.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009754/9.052, allocations: 0.6558 MB / 4.316 GB, free: 67.23 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/9.052, allocations: 11.94 kB / 4.316 GB, free: 67.22 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/9.052, allocations: 8.844 kB / 4.316 GB, free: 67.21 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/9.052, allocations: 16 kB / 4.316 GB, free: 67.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006543/9.053, allocations: 175.8 kB / 4.316 GB, free: 67.03 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2e-05/9.053, allocations: 23.92 kB / 4.316 GB, free: 67 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/9.054, allocations: 203.7 kB / 4.317 GB, free: 66.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.342e-05/9.054, allocations: 35.98 kB / 4.317 GB, free: 66.77 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 63 * 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.0001169/9.054, allocations: 152.7 kB / 4.317 GB, free: 66.61 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/9.055, allocations: 118.6 kB / 4.317 GB, free: 66.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004646/9.055, allocations: 264.3 kB / 4.317 GB, free: 66.23 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/9.055, allocations: 4 kB / 4.317 GB, free: 66.23 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/9.055, allocations: 7.984 kB / 4.317 GB, free: 66.22 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/9.055, allocations: 3.938 kB / 4.317 GB, free: 66.21 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/9.057, allocations: 1.647 MB / 4.319 GB, free: 64.46 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/9.057, allocations: 7.938 kB / 4.319 GB, free: 64.46 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/9.058, allocations: 39.92 kB / 4.319 GB, free: 64.42 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/9.058, allocations: 7.953 kB / 4.319 GB, free: 64.41 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/9.058, allocations: 7.938 kB / 4.319 GB, free: 64.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/9.058, allocations: 7.984 kB / 4.319 GB, free: 64.39 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/9.058, allocations: 7.938 kB / 4.319 GB, free: 64.39 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005632/9.058, allocations: 0.6458 MB / 4.32 GB, free: 63.59 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003974/9.059, allocations: 231.6 kB / 4.32 GB, free: 63.34 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/9.059, allocations: 7.953 kB / 4.32 GB, free: 63.34 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000726/9.059, allocations: 79.92 kB / 4.32 GB, free: 63.26 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/9.06, allocations: 15.98 kB / 4.32 GB, free: 63.24 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/9.06, allocations: 12 kB / 4.32 GB, free: 63.23 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000948/9.06, allocations: 0.8042 MB / 4.321 GB, free: 62.42 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.51e-07/9.061, allocations: 3.938 kB / 4.321 GB, free: 62.42 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001821/9.062, allocations: 495.5 kB / 4.321 GB, free: 61.93 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.004003/9.066, allocations: 4.213 MB / 4.325 GB, free: 57.46 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005942/9.067, allocations: 346 kB / 4.326 GB, free: 57.13 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/9.067, allocations: 0 / 4.326 GB, free: 57.13 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/9.067, allocations: 97.45 kB / 4.326 GB, free: 57.04 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/9.07, allocations: 0.5615 MB / 4.326 GB, free: 56.48 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/9.072, allocations: 1.482 MB / 4.328 GB, free: 54.92 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000564/9.073, allocations: 1.134 MB / 4.329 GB, free: 53.75 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008174/9.074, allocations: 221.3 kB / 4.329 GB, free: 53.54 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004448/9.074, allocations: 415.2 kB / 4.329 GB, free: 53.13 MB / 1.151 GB Notification: Performance of SimCode: time 1.072e-06/9.074, allocations: 0 / 4.329 GB, free: 53.13 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/9.176, allocations: 66.68 MB / 4.395 GB, free: 2.766 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/9.176, allocations: 225.4 kB / 4.395 GB, free: 2.539 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.201/13.38, allocations: 0 / 4.395 GB, free: 2.539 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat does not exist to compare? outputFormat=mat