Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",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.584/2.584, allocations: 390.3 MB / 402.8 MB, free: 6.727 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.001444/0.001444, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.621/1.621, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0009247/0.0009247, allocations: 91.95 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.519e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2542, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.597/5.851, allocations: 1.917 GB / 3.136 GB, free: 291.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/5.851, allocations: 88.95 kB / 3.136 GB, free: 291.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.249/8.101, allocations: 0.7502 GB / 3.887 GB, free: 2.215 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.473e-06/8.101, allocations: 0 / 3.887 GB, free: 2.215 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001042/8.101, allocations: 35.98 kB / 3.887 GB, free: 2.18 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.00315/8.104, allocations: 1.517 MB / 3.888 GB, free: 0.6133 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/8.104, allocations: 8.031 kB / 3.888 GB, free: 0.6055 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/8.104, allocations: 106.5 kB / 3.888 GB, free: 0.4922 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00251/8.107, allocations: 293.9 kB / 3.888 GB, free: 208 kB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6928/8.799, allocations: 1.247 MB / 3.89 GB, free: 249 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.326e-05/8.799, allocations: 63.31 kB / 3.89 GB, free: 249 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/8.8, allocations: 75.38 kB / 3.89 GB, free: 249 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/8.802, allocations: 0.7643 MB / 3.891 GB, free: 249 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/8.802, allocations: 0 / 3.891 GB, free: 249 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.829e-05/8.802, allocations: 25.03 kB / 3.891 GB, free: 249 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.948e-05/8.802, allocations: 23.94 kB / 3.891 GB, free: 249 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/8.803, allocations: 0.7681 MB / 3.891 GB, free: 249 MB / 1.167 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.007244/8.81, allocations: 3.576 MB / 3.895 GB, free: 248.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/8.812, allocations: 0.7501 MB / 3.896 GB, free: 247.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006599/8.812, allocations: 411.5 kB / 3.896 GB, free: 247.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004182/8.813, allocations: 297.1 kB / 3.896 GB, free: 247.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/8.813, allocations: 38.09 kB / 3.896 GB, free: 247.6 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001655/8.815, allocations: 333.3 kB / 3.897 GB, free: 247.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=55): time 3.787e-06/8.815, allocations: 0 / 3.897 GB, free: 247.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=55): time 0.002003/8.817, allocations: 0.8996 MB / 3.897 GB, free: 247.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/8.817, allocations: 64.73 kB / 3.898 GB, free: 247.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002233/8.819, allocations: 1.402 MB / 3.899 GB, free: 247.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.487e-05/8.819, allocations: 40.58 kB / 3.899 GB, free: 247.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004145/8.819, allocations: 0.5343 MB / 3.899 GB, free: 247.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/8.82, allocations: 193.9 kB / 3.9 GB, free: 247 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/8.82, allocations: 8.844 kB / 3.9 GB, free: 247 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.308e-05/8.82, allocations: 323.7 kB / 3.9 GB, free: 246.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005337/8.82, allocations: 312.3 kB / 3.9 GB, free: 246.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000865/8.821, allocations: 0.5917 MB / 3.901 GB, free: 246.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007079/8.822, allocations: 382.1 kB / 3.901 GB, free: 246.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/8.822, allocations: 0.7969 kB / 3.901 GB, free: 246.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001581/8.823, allocations: 0.8936 MB / 3.902 GB, free: 246.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 5.879e-05/8.823, allocations: 101.6 kB / 3.902 GB, free: 246.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/8.823, allocations: 3.406 kB / 3.902 GB, free: 246.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/8.823, allocations: 1.969 kB / 3.902 GB, free: 246.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/8.825, allocations: 180.3 kB / 3.902 GB, free: 246.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/8.825, allocations: 5.156 kB / 3.902 GB, free: 246.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/8.826, allocations: 151.4 kB / 3.902 GB, free: 246.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/8.826, allocations: 38.73 kB / 3.903 GB, free: 246.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/8.826, allocations: 3.406 kB / 3.903 GB, free: 246.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001381/8.828, allocations: 0.7376 MB / 3.903 GB, free: 246.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/8.828, allocations: 3.125 kB / 3.903 GB, free: 246.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/8.828, allocations: 3.062 kB / 3.903 GB, free: 246.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009437/8.829, allocations: 188.6 kB / 3.903 GB, free: 246.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/8.829, allocations: 1.969 kB / 3.903 GB, free: 246.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/8.83, allocations: 153.6 kB / 3.904 GB, free: 246.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/8.831, allocations: 40.73 kB / 3.904 GB, free: 246.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * 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.0002337/8.831, allocations: 138.6 kB / 3.904 GB, free: 246.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/8.831, allocations: 128.8 kB / 3.904 GB, free: 246 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/8.833, allocations: 0.9843 MB / 3.905 GB, free: 245.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/8.833, allocations: 10.31 kB / 3.905 GB, free: 245.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/8.833, allocations: 3.5 kB / 3.905 GB, free: 245.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/8.833, allocations: 4.672 kB / 3.905 GB, free: 245.9 MB / 1.167 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 postOpt removeSimpleEquations (simulation): time 0.004417/8.838, allocations: 2.483 MB / 3.907 GB, free: 245.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/8.838, allocations: 6.422 kB / 3.907 GB, free: 245.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007744/8.839, allocations: 143.4 kB / 3.907 GB, free: 245.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/8.839, allocations: 5.75 kB / 3.907 GB, free: 245.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.855e-05/8.839, allocations: 19.84 kB / 3.907 GB, free: 245.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/8.839, allocations: 8.031 kB / 3.907 GB, free: 245.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/8.839, allocations: 3.656 kB / 3.907 GB, free: 245.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/8.841, allocations: 1.555 MB / 3.909 GB, free: 245 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000775/8.842, allocations: 378.4 kB / 3.909 GB, free: 244.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/8.842, allocations: 17.17 kB / 3.909 GB, free: 244.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/8.843, allocations: 102.9 kB / 3.909 GB, free: 244.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/8.844, allocations: 56.64 kB / 3.91 GB, free: 244.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.42e-05/8.844, allocations: 30.64 kB / 3.91 GB, free: 244.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001759/8.845, allocations: 1.093 MB / 3.911 GB, free: 244.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/8.845, allocations: 0 / 3.911 GB, free: 244.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002432/8.848, allocations: 0.6943 MB / 3.911 GB, free: 244.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.s[1],mixBox.filter.s[2],mixBox.filterOutMin.s[1],mixBox.filterOutMin.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * 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.005808/8.854, allocations: 4.436 MB / 3.916 GB, free: 242.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002555/8.856, allocations: 1.152 MB / 3.917 GB, free: 242.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/8.856, allocations: 0 / 3.917 GB, free: 242.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007115/8.857, allocations: 383.8 kB / 3.917 GB, free: 242.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003416/8.86, allocations: 0.5547 MB / 3.918 GB, free: 242.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00447/8.865, allocations: 1.917 MB / 3.92 GB, free: 242.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000851/8.866, allocations: 1.173 MB / 3.921 GB, free: 241.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002695/8.868, allocations: 0.5271 MB / 3.921 GB, free: 241.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000769/8.869, allocations: 484 kB / 3.922 GB, free: 241.4 MB / 1.167 GB Notification: Performance of SimCode: time 2.023e-06/8.869, allocations: 0 / 3.922 GB, free: 241.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1191/8.988, allocations: 70.46 MB / 3.99 GB, free: 240.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/8.989, allocations: 211 kB / 3.991 GB, free: 240.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.742/13.73, allocations: 0 / 3.991 GB, free: 240.4 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.fmu > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat does not exist to compare? outputFormat=mat