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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009165/0.0009165, allocations: 91.14 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.467/2.467, allocations: 390.4 MB / 0.6655 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003698, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8016/0.802, allocations: 142.3 MB / 0.9539 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PowerSimplified): time 0.069/0.8711, allocations: 68.48 MB / 1.021 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03561/0.9067, allocations: 22.14 MB / 1.042 GB, free: 5.285 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005321/0.9121, allocations: 99.38 kB / 1.042 GB, free: 5.188 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004768/0.9169, allocations: 1.103 MB / 1.044 GB, free: 4.078 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01173/0.9286, allocations: 3.136 MB / 1.047 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.008437/0.9371, allocations: 2.346 MB / 1.049 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01488/0.952, allocations: 9.487 MB / 1.058 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004866/0.9569, allocations: 2.137 MB / 1.06 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007468/0.9644, allocations: 2.633 MB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005393/0.9698, allocations: 2.276 MB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001054/0.9709, allocations: 124 kB / 1.065 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005831/0.9768, allocations: 1.466 MB / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002831/0.9796, allocations: 1.028 MB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00284/0.9825, allocations: 0.7653 MB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.009183/0.9917, allocations: 4.555 MB / 1.073 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.9918, allocations: 0 / 1.073 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.507e-06/0.9918, allocations: 0 / 1.073 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001779/0.992, allocations: 0 / 1.073 GB, free: 6.027 MB / 0.8262 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.008489/1, allocations: 3.834 MB / 1.077 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1.001, allocations: 12.03 kB / 1.077 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005357/1.001, allocations: 249.1 kB / 1.077 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004534/1.006, allocations: 0.928 MB / 1.078 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008674/1.014, allocations: 3.936 MB / 1.082 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/1.014, allocations: 144 kB / 1.082 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003892/1.015, allocations: 192 kB / 1.082 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004447/1.019, allocations: 2.35 MB / 1.084 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.677e-05/1.019, allocations: 3.938 kB / 1.084 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/1.02, allocations: 71.98 kB / 1.084 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-05/1.02, allocations: 63.92 kB / 1.084 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004491/1.024, allocations: 1.961 MB / 1.086 GB, free: 8.078 MB / 0.8419 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01431/1.038, allocations: 10.32 MB / 1.096 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003478/1.042, allocations: 1.434 MB / 1.098 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/1.044, allocations: 0.7598 MB / 1.098 GB, free: 11.02 MB / 0.8575 GB Warning: The model contains alias variables with redundant start and/or conflicting 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 evalFunc (simulation): time 0.006296/1.05, allocations: 3.749 MB / 1.102 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/1.05, allocations: 43.56 kB / 1.102 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001227/1.051, allocations: 186.7 kB / 1.102 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=85): time 4.048e-06/1.051, allocations: 0 / 1.102 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of matching and sorting (n=93): time 0.01238/1.064, allocations: 4.645 MB / 1.107 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.454e-05/1.064, allocations: 64.41 kB / 1.107 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006817/1.071, allocations: 4.045 MB / 1.111 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0004483/1.071, allocations: 53.7 kB / 1.111 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001442/1.073, allocations: 1.604 MB / 1.112 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004152/1.073, allocations: 327.3 kB / 1.113 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.771e-05/1.073, allocations: 24 kB / 1.113 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001408/1.073, allocations: 365.9 kB / 1.113 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/1.075, allocations: 0.769 MB / 1.114 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002125/1.077, allocations: 1.447 MB / 1.115 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/1.079, allocations: 0.9163 MB / 1.116 GB, free: 8.09 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/1.079, allocations: 4 kB / 1.116 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005363/1.084, allocations: 2.563 MB / 1.119 GB, free: 5.5 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004062/1.085, allocations: 0.624 MB / 1.119 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/1.085, allocations: 20 kB / 1.119 GB, free: 4.605 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006817/1.086, allocations: 251.2 kB / 1.12 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/1.087, allocations: 431.3 kB / 1.12 GB, free: 3.926 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004218/1.092, allocations: 5.791 MB / 1.126 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003699/1.095, allocations: 213 kB / 1.126 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002913/1.096, allocations: 104 kB / 1.126 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/1.096, allocations: 8 kB / 1.126 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004539/1.1, allocations: 2.346 MB / 1.128 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-05/1.1, allocations: 16 kB / 1.128 GB, free: 11 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/1.101, allocations: 479.7 kB / 1.129 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/1.103, allocations: 363.4 kB / 1.129 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009129/1.112, allocations: 8.784 MB / 1.138 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002735/1.115, allocations: 182.7 kB / 1.138 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002854/1.115, allocations: 95.97 kB / 1.138 GB, free: 496 kB / 0.8887 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 166 * 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 2,1 2,1 2,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001771/1.117, allocations: 0.9145 MB / 1.139 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006626/1.117, allocations: 320 kB / 1.139 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005059/1.122, allocations: 2.209 MB / 1.141 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-05/1.122, allocations: 15.98 kB / 1.141 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/1.122, allocations: 0 / 1.141 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00362/1.126, allocations: 1.914 MB / 1.143 GB, free: 11 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008576/1.135, allocations: 4.727 MB / 1.148 GB, free: 6.168 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/1.135, allocations: 4 kB / 1.148 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/1.136, allocations: 295.7 kB / 1.148 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003478/1.136, allocations: 144.7 kB / 1.148 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.508e-05/1.136, allocations: 39.91 kB / 1.148 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008778/1.137, allocations: 1.349 MB / 1.15 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.137, allocations: 0 / 1.15 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006351/1.144, allocations: 3.038 MB / 1.152 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001709/1.145, allocations: 0.5943 MB / 1.153 GB, free: 0.6055 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004554/1.146, allocations: 20 kB / 1.153 GB, free: 0.5859 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00173/1.148, allocations: 187.8 kB / 1.153 GB, free: 412 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/1.148, allocations: 72.86 kB / 1.153 GB, free: 336 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/1.148, allocations: 51.95 kB / 1.153 GB, free: 284 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.004255/1.152, allocations: 2.833 MB / 1.156 GB, free: 13.46 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.31e-07/1.152, allocations: 0 / 1.156 GB, free: 13.46 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.006248/1.158, allocations: 1.445 MB / 1.158 GB, free: 12.02 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (pump_Nrpm.vol.dynBal.U,pump_dp.vol.dynBal.U,pump_m_flow.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 96 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.008402/1.167, allocations: 4.143 MB / 1.162 GB, free: 7.84 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.007438/1.174, allocations: 3.85 MB / 1.165 GB, free: 3.906 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/1.174, allocations: 0 / 1.165 GB, free: 3.906 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001996/1.176, allocations: 0.835 MB / 1.166 GB, free: 3.074 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007344/1.184, allocations: 1.747 MB / 1.168 GB, free: 1.348 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05191/1.236, allocations: 25.72 MB / 1.193 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001759/1.237, allocations: 2.198 MB / 1.195 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003633/1.241, allocations: 0.7929 MB / 1.196 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001914/1.243, allocations: 1.44 MB / 1.197 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of SimCode: time 3.126e-06/1.243, allocations: 0 / 1.197 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7298/1.973, allocations: 104 MB / 1.299 GB, free: 270.5 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001518/1.973, allocations: 259.5 kB / 1.299 GB, free: 270.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.957/6.93, allocations: 3.938 kB / 1.299 GB, free: 270.1 MB / 1.014 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