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.372/2.372, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.0013/0.0013, allocations: 176.9 kB / 487.4 MB, free: 5.039 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.419/1.419, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000928/0.000928, allocations: 95.84 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.961e-05/1.969e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2569, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.089/1.346, allocations: 440.1 MB / 1.636 GB, free: 14.58 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/1.347, allocations: 94.59 kB / 1.636 GB, free: 14.53 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.97/5.317, allocations: 1.023 GB / 2.659 GB, free: 164.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.322e-06/5.317, allocations: 0 / 2.659 GB, free: 164.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000536/5.317, allocations: 91.12 kB / 2.659 GB, free: 164.9 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.009431/5.327, allocations: 3.118 MB / 2.662 GB, free: 163.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/5.327, allocations: 9.312 kB / 2.662 GB, free: 163.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005925/5.333, allocations: 0.872 MB / 2.663 GB, free: 163.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04939/5.382, allocations: 23.09 MB / 2.685 GB, free: 162.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/5.382, allocations: 57.16 kB / 2.686 GB, free: 162.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007749/5.383, allocations: 123.3 kB / 2.686 GB, free: 162.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00404/5.387, allocations: 1.536 MB / 2.687 GB, free: 162.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004527/5.392, allocations: 1.825 MB / 2.689 GB, free: 162.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.792e-05/5.392, allocations: 4.828 kB / 2.689 GB, free: 162.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/5.392, allocations: 6.234 kB / 2.689 GB, free: 162.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.345e-05/5.392, allocations: 45.92 kB / 2.689 GB, free: 162.3 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.01511/5.407, allocations: 9.658 MB / 2.698 GB, free: 158.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00256/5.41, allocations: 1.408 MB / 2.7 GB, free: 158.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000954/5.411, allocations: 0.6439 MB / 2.7 GB, free: 158.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005777/5.416, allocations: 3.706 MB / 2.704 GB, free: 156.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/5.417, allocations: 43.75 kB / 2.704 GB, free: 156.6 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001177/5.418, allocations: 172.4 kB / 2.704 GB, free: 156.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=90): time 2.926e-06/5.418, allocations: 0 / 2.704 GB, free: 156.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=96): time 0.01024/5.428, allocations: 3.915 MB / 2.708 GB, free: 155.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/5.428, allocations: 64.66 kB / 2.708 GB, free: 155.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004972/5.433, allocations: 2.893 MB / 2.711 GB, free: 155.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/5.433, allocations: 28.2 kB / 2.711 GB, free: 155.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001261/5.434, allocations: 1.59 MB / 2.713 GB, free: 154.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002727/5.435, allocations: 326.5 kB / 2.713 GB, free: 154.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.772e-05/5.435, allocations: 0 / 2.713 GB, free: 154.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001049/5.435, allocations: 365.5 kB / 2.713 GB, free: 154.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/5.436, allocations: 0.6085 MB / 2.714 GB, free: 154.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/5.437, allocations: 1.301 MB / 2.715 GB, free: 153.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002231/5.439, allocations: 0.9119 MB / 2.716 GB, free: 153.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/5.439, allocations: 9.375 kB / 2.716 GB, free: 153.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004447/5.444, allocations: 2.378 MB / 2.718 GB, free: 153.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001402/5.445, allocations: 7.949 MB / 2.726 GB, free: 144.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/5.445, allocations: 15.38 kB / 2.726 GB, free: 144.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008183/5.446, allocations: 383.2 kB / 2.726 GB, free: 144.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/5.448, allocations: 375.1 kB / 2.727 GB, free: 144.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/5.45, allocations: 3.454 MB / 2.73 GB, free: 142.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002886/5.453, allocations: 156.1 kB / 2.73 GB, free: 142.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/5.453, allocations: 116.8 kB / 2.73 GB, free: 142.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/5.453, allocations: 6.812 kB / 2.73 GB, free: 142.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004402/5.457, allocations: 1.862 MB / 2.732 GB, free: 142.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.072e-05/5.457, allocations: 17.31 kB / 2.732 GB, free: 142.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001426/5.459, allocations: 435.8 kB / 2.733 GB, free: 142.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/5.461, allocations: 338.5 kB / 2.733 GB, free: 142.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007039/5.468, allocations: 5.522 MB / 2.738 GB, free: 138.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003183/5.471, allocations: 149 kB / 2.739 GB, free: 138.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002043/5.471, allocations: 102.8 kB / 2.739 GB, free: 138.8 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.0005369/5.472, allocations: 165.1 kB / 2.739 GB, free: 138.7 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003478/5.475, allocations: 1.412 MB / 2.74 GB, free: 138.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004078/5.475, allocations: 307.5 kB / 2.74 GB, free: 138.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00376/5.479, allocations: 1.796 MB / 2.742 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/5.479, allocations: 21.75 kB / 2.742 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/5.479, allocations: 0 / 2.742 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002089/5.481, allocations: 1.526 MB / 2.744 GB, free: 137.7 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.007452/5.489, allocations: 4.192 MB / 2.748 GB, free: 137 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/5.489, allocations: 4.594 kB / 2.748 GB, free: 137 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/5.49, allocations: 258.1 kB / 2.748 GB, free: 137 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002015/5.49, allocations: 81.53 kB / 2.748 GB, free: 137 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.472e-05/5.49, allocations: 32.56 kB / 2.748 GB, free: 137 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006246/5.491, allocations: 1.289 MB / 2.749 GB, free: 135.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/5.491, allocations: 1.5 kB / 2.749 GB, free: 135.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003819/5.495, allocations: 2.551 MB / 2.752 GB, free: 135.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001683/5.497, allocations: 0.6146 MB / 2.753 GB, free: 135 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004016/5.497, allocations: 12.45 kB / 2.753 GB, free: 135 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/5.498, allocations: 120 kB / 2.753 GB, free: 135 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/5.499, allocations: 75.08 kB / 2.753 GB, free: 135 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/5.499, allocations: 63.11 kB / 2.753 GB, free: 135 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003112/5.502, allocations: 2.186 MB / 2.755 GB, free: 134.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.8e-07/5.502, allocations: 0 / 2.755 GB, free: 134.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005293/5.507, allocations: 1.493 MB / 2.756 GB, free: 134.7 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.006242/5.513, allocations: 5.113 MB / 2.761 GB, free: 132.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004143/5.518, allocations: 2.626 MB / 2.764 GB, free: 132.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/5.518, allocations: 0 / 2.764 GB, free: 132.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008029/5.518, allocations: 0.6169 MB / 2.765 GB, free: 132.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006009/5.524, allocations: 1.518 MB / 2.766 GB, free: 132.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009964/5.534, allocations: 5.246 MB / 2.771 GB, free: 131.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001608/5.536, allocations: 2.248 MB / 2.773 GB, free: 130.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005228/5.541, allocations: 1.422 MB / 2.775 GB, free: 130.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/5.543, allocations: 1.351 MB / 2.776 GB, free: 130.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.523e-06/5.543, allocations: 0 / 2.776 GB, free: 130.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1562/5.699, allocations: 101.9 MB / 2.876 GB, free: 125.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/5.699, allocations: 174.8 kB / 2.876 GB, free: 125.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.521/11.22, allocations: 0 / 2.876 GB, free: 125.3 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