Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.PowerSimplified.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.Movers.Validation.PowerSimplified,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_PowerSimplified",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PowerSimplified,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_PowerSimplified",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.285/2.285, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001071/0.001071, allocations: 176.9 kB / 492.3 MB, free: 0.6406 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.447/1.447, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0009354/0.0009354, allocations: 83.19 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.025e-05/4.028e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2808, allocations: 142.4 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.157/1.438, allocations: 440.7 MB / 1.643 GB, free: 5.934 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/1.438, allocations: 91.28 kB / 1.643 GB, free: 5.891 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.16/5.598, allocations: 1.03 GB / 2.673 GB, free: 166.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.303e-06/5.598, allocations: 0 / 2.673 GB, free: 166.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0006574/5.599, allocations: 87.88 kB / 2.673 GB, free: 166.3 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: 440 * Number of variables: 440 Notification: Performance of Generate backend data structure: time 0.009144/5.608, allocations: 3.118 MB / 2.676 GB, free: 165.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/5.608, allocations: 11.44 kB / 2.676 GB, free: 165.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008219/5.609, allocations: 244.7 kB / 2.676 GB, free: 165.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005669/5.615, allocations: 0.8728 MB / 2.677 GB, free: 165.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04963/5.664, allocations: 23.14 MB / 2.699 GB, free: 163.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/5.665, allocations: 152.5 kB / 2.7 GB, free: 163.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008183/5.665, allocations: 201.8 kB / 2.7 GB, free: 163.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005512/5.671, allocations: 2.067 MB / 2.702 GB, free: 163.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.2e-05/5.671, allocations: 4.5 kB / 2.702 GB, free: 163.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003392/5.671, allocations: 72.03 kB / 2.702 GB, free: 163.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.226e-05/5.671, allocations: 51.7 kB / 2.702 GB, free: 163.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003136/5.675, allocations: 1.471 MB / 2.703 GB, free: 163.6 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.01583/5.69, allocations: 10.01 MB / 2.713 GB, free: 159.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002112/5.693, allocations: 1.189 MB / 2.714 GB, free: 159.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007641/5.693, allocations: 0.5596 MB / 2.715 GB, free: 159.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006008/5.699, allocations: 3.77 MB / 2.719 GB, free: 157.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/5.699, allocations: 47.94 kB / 2.719 GB, free: 157.8 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001651/5.701, allocations: 220.9 kB / 2.719 GB, free: 157.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=90): time 5.06e-06/5.701, allocations: 0 / 2.719 GB, free: 157.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=96): time 0.007345/5.708, allocations: 3.18 MB / 2.722 GB, free: 156.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/5.709, allocations: 63.75 kB / 2.722 GB, free: 156.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006184/5.715, allocations: 3.205 MB / 2.725 GB, free: 156.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002027/5.715, allocations: 58.77 kB / 2.725 GB, free: 156.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001439/5.716, allocations: 1.592 MB / 2.727 GB, free: 156.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/5.717, allocations: 342.2 kB / 2.727 GB, free: 155.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/5.717, allocations: 30.41 kB / 2.727 GB, free: 155.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001057/5.717, allocations: 364.5 kB / 2.727 GB, free: 155.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000824/5.718, allocations: 0.5215 MB / 2.728 GB, free: 155.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/5.719, allocations: 1.229 MB / 2.729 GB, free: 154.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/5.72, allocations: 0.6972 MB / 2.73 GB, free: 154.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/5.72, allocations: 3.719 kB / 2.73 GB, free: 154.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003838/5.724, allocations: 2.134 MB / 2.732 GB, free: 154.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001837/5.726, allocations: 8.017 MB / 2.74 GB, free: 146.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.78e-05/5.726, allocations: 19.41 kB / 2.74 GB, free: 146.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009502/5.727, allocations: 316.5 kB / 2.74 GB, free: 146.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/5.728, allocations: 381.5 kB / 2.74 GB, free: 146.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/5.73, allocations: 3.183 MB / 2.743 GB, free: 143.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/5.733, allocations: 192.6 kB / 2.744 GB, free: 143.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002142/5.733, allocations: 123.8 kB / 2.744 GB, free: 143.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/5.733, allocations: 7.891 kB / 2.744 GB, free: 143.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003002/5.736, allocations: 1.92 MB / 2.746 GB, free: 143.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.351e-05/5.736, allocations: 17.34 kB / 2.746 GB, free: 143.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/5.737, allocations: 454.2 kB / 2.746 GB, free: 143.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/5.738, allocations: 343.2 kB / 2.746 GB, free: 143.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006018/5.744, allocations: 5.631 MB / 2.752 GB, free: 140 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002721/5.747, allocations: 179 kB / 2.752 GB, free: 140 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002442/5.747, allocations: 101.5 kB / 2.752 GB, free: 140 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 159 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005129/5.748, allocations: 207.6 kB / 2.752 GB, free: 139.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00084/5.749, allocations: 328.9 kB / 2.753 GB, free: 139.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003809/5.752, allocations: 1.854 MB / 2.755 GB, free: 139.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/5.752, allocations: 15.64 kB / 2.755 GB, free: 139.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/5.752, allocations: 0 / 2.755 GB, free: 139.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001829/5.754, allocations: 1.539 MB / 2.756 GB, free: 139.1 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.00779/5.762, allocations: 4.442 MB / 2.76 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/5.762, allocations: 3.969 kB / 2.76 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/5.763, allocations: 255.2 kB / 2.761 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002975/5.764, allocations: 133.1 kB / 2.761 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.744e-05/5.764, allocations: 33.48 kB / 2.761 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005646/5.764, allocations: 1.269 MB / 2.762 GB, free: 137.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/5.764, allocations: 6.828 kB / 2.762 GB, free: 137.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003434/5.768, allocations: 2.596 MB / 2.765 GB, free: 136.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001731/5.769, allocations: 0.6284 MB / 2.765 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007987/5.77, allocations: 18.25 kB / 2.765 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002052/5.772, allocations: 146.2 kB / 2.765 GB, free: 136.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/5.773, allocations: 81.94 kB / 2.765 GB, free: 136.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/5.773, allocations: 61.58 kB / 2.765 GB, free: 136.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004176/5.777, allocations: 2.465 MB / 2.768 GB, free: 136.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.223e-06/5.777, allocations: 0 / 2.768 GB, free: 136.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006747/5.784, allocations: 1.605 MB / 2.769 GB, free: 136.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (pump_Nrpm.port_a.h_outflow,pump_dp.port_a.h_outflow,pump_m_flow.port_a.h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00723/5.791, allocations: 5.206 MB / 2.775 GB, free: 134.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00471/5.796, allocations: 2.655 MB / 2.777 GB, free: 134 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/5.796, allocations: 0 / 2.777 GB, free: 134 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009847/5.797, allocations: 0.6333 MB / 2.778 GB, free: 134 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007819/5.804, allocations: 1.675 MB / 2.779 GB, free: 134 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/5.817, allocations: 5.397 MB / 2.785 GB, free: 132.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002248/5.82, allocations: 2.237 MB / 2.787 GB, free: 131.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.006324/5.826, allocations: 1.468 MB / 2.788 GB, free: 131.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001799/5.828, allocations: 1.363 MB / 2.79 GB, free: 131.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.082e-06/5.828, allocations: 0 / 2.79 GB, free: 131.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1784/6.006, allocations: 121.4 MB / 2.908 GB, free: 126 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/6.007, allocations: 224.2 kB / 2.908 GB, free: 125.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.032/12.04, allocations: 0 / 2.908 GB, free: 125.8 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PowerSimplified.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.PowerSimplified_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_PowerSimplified_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_PowerSimplified.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.PowerSimplified_res.mat does not exist to compare? outputFormat=mat