Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.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.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit",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.228/2.228, allocations: 390.3 MB / 405.3 MB, free: 13.37 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.001367/0.001367, allocations: 181.1 kB / 498.1 MB, free: 5.625 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.55/1.55, allocations: 223.2 MB / 0.7948 GB, free: 17.98 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.001228/0.001227, allocations: 106 kB / 0.9346 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004278/0.0004278, allocations: 9.234 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3282, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.382/4.71, allocations: 1.873 GB / 3.095 GB, free: 114.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/4.711, allocations: 89.84 kB / 3.096 GB, free: 114.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.063/9.774, allocations: 1.431 GB / 4.527 GB, free: 8.324 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.335e-06/9.774, allocations: 0 / 4.527 GB, free: 8.324 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002094/9.774, allocations: 43.97 kB / 4.527 GB, free: 8.281 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.006189/9.781, allocations: 1.9 MB / 4.529 GB, free: 6.328 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/9.781, allocations: 8.031 kB / 4.529 GB, free: 6.32 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004226/9.781, allocations: 126.7 kB / 4.529 GB, free: 6.188 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/9.782, allocations: 202.1 kB / 4.529 GB, free: 5.988 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002771/9.785, allocations: 0.9583 MB / 4.53 GB, free: 4.973 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/9.785, allocations: 133.3 kB / 4.53 GB, free: 4.832 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/9.785, allocations: 92 kB / 4.53 GB, free: 4.742 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/9.787, allocations: 0.9174 MB / 4.531 GB, free: 3.734 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/9.787, allocations: 7.922 kB / 4.531 GB, free: 3.727 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.288e-05/9.787, allocations: 32 kB / 4.531 GB, free: 3.695 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/9.787, allocations: 23.94 kB / 4.531 GB, free: 3.672 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008852/9.788, allocations: 0.4994 MB / 4.531 GB, free: 3.172 MB / 1.167 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.00576/9.794, allocations: 4.892 MB / 4.536 GB, free: 13.97 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005956/9.794, allocations: 420.6 kB / 4.537 GB, free: 13.43 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000211/9.795, allocations: 101.3 kB / 4.537 GB, free: 13.31 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.053e-05/9.795, allocations: 58.42 kB / 4.537 GB, free: 13.25 MB / 1.182 GB Notification: Performance of pre-optimization done (n=33): time 3.586e-06/9.795, allocations: 0 / 4.537 GB, free: 13.25 MB / 1.182 GB Notification: Performance of matching and sorting (n=33): time 0.00233/9.797, allocations: 0.833 MB / 4.538 GB, free: 12.36 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000184/9.797, allocations: 405.6 kB / 4.538 GB, free: 11.88 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001764/9.799, allocations: 1.076 MB / 4.539 GB, free: 10.79 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/9.799, allocations: 37.7 kB / 4.539 GB, free: 10.75 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005147/9.8, allocations: 0.547 MB / 4.54 GB, free: 10.19 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/9.8, allocations: 114.4 kB / 4.54 GB, free: 10.08 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.535e-05/9.8, allocations: 4 kB / 4.54 GB, free: 10.07 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001202/9.8, allocations: 318 kB / 4.54 GB, free: 9.758 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/9.8, allocations: 103.9 kB / 4.54 GB, free: 9.656 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004809/9.801, allocations: 372.5 kB / 4.541 GB, free: 9.176 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/9.801, allocations: 149.7 kB / 4.541 GB, free: 9.031 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/9.801, allocations: 0 / 4.541 GB, free: 9.031 MB / 1.182 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001143/9.802, allocations: 0.5249 MB / 4.541 GB, free: 8.492 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005745/9.803, allocations: 1.343 MB / 4.542 GB, free: 7.023 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/9.803, allocations: 7.984 kB / 4.542 GB, free: 7.016 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003075/9.803, allocations: 81.64 kB / 4.543 GB, free: 6.93 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004314/9.803, allocations: 83.88 kB / 4.543 GB, free: 6.848 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/9.805, allocations: 2.304 MB / 4.545 GB, free: 4.445 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/9.806, allocations: 127.2 kB / 4.545 GB, free: 4.32 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.594e-05/9.806, allocations: 27.98 kB / 4.545 GB, free: 4.293 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/9.806, allocations: 4 kB / 4.545 GB, free: 4.289 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007586/9.807, allocations: 353.4 kB / 4.545 GB, free: 3.938 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/9.807, allocations: 8 kB / 4.545 GB, free: 3.93 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002303/9.807, allocations: 69.61 kB / 4.545 GB, free: 3.855 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/9.807, allocations: 71.89 kB / 4.546 GB, free: 3.785 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002675/9.81, allocations: 2.923 MB / 4.548 GB, free: 0.5859 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/9.811, allocations: 123.1 kB / 4.549 GB, free: 476 kB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/9.811, allocations: 24 kB / 4.549 GB, free: 452 kB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0007394/9.812, allocations: 354.2 kB / 4.549 GB, free: 88 kB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.7827/10.59, allocations: 137.4 kB / 4.549 GB, free: 183 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/10.6, allocations: 415.9 kB / 4.549 GB, free: 183 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/10.6, allocations: 7.203 kB / 4.549 GB, free: 183 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/10.6, allocations: 4.156 kB / 4.549 GB, free: 183 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/10.6, allocations: 3.375 kB / 4.549 GB, free: 183 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003857/10.6, allocations: 2.55 MB / 4.552 GB, free: 181.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/10.6, allocations: 10.78 kB / 4.552 GB, free: 181.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/10.6, allocations: 70.44 kB / 4.552 GB, free: 181.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002174/10.6, allocations: 81.67 kB / 4.552 GB, free: 181.5 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/10.6, allocations: 13 kB / 4.552 GB, free: 181.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009185/10.6, allocations: 2.297 MB / 4.554 GB, free: 179.3 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/10.6, allocations: 8 kB / 4.554 GB, free: 179.3 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/10.6, allocations: 1.091 MB / 4.555 GB, free: 178.5 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005602/10.6, allocations: 255.8 kB / 4.556 GB, free: 178.3 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/10.6, allocations: 12.12 kB / 4.556 GB, free: 178.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007862/10.6, allocations: 72.62 kB / 4.556 GB, free: 178.3 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.586e-05/10.6, allocations: 37.61 kB / 4.556 GB, free: 178.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.393e-05/10.6, allocations: 23.77 kB / 4.556 GB, free: 178.3 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001307/10.61, allocations: 0.8503 MB / 4.557 GB, free: 178.2 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.61e-07/10.61, allocations: 0 / 4.557 GB, free: 178.2 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.003202/10.61, allocations: 0.7916 MB / 4.557 GB, free: 178.2 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007961/10.62, allocations: 6.429 MB / 4.564 GB, free: 174 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.001915/10.62, allocations: 0.7259 MB / 4.564 GB, free: 173.8 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/10.62, allocations: 1 kB / 4.564 GB, free: 173.8 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0004903/10.62, allocations: 195.8 kB / 4.565 GB, free: 173.8 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004027/10.62, allocations: 0.7431 MB / 4.565 GB, free: 173.8 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004805/10.63, allocations: 4.926 MB / 4.57 GB, free: 170.2 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000835/10.63, allocations: 1.158 MB / 4.571 GB, free: 169.5 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.001166/10.63, allocations: 282.3 kB / 4.571 GB, free: 169.4 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004511/10.63, allocations: 439.5 kB / 4.572 GB, free: 169.4 MB / 1.182 GB Notification: Performance of SimCode: time 1.072e-06/10.63, allocations: 0 / 4.572 GB, free: 169.4 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1353/10.77, allocations: 81.69 MB / 4.652 GB, free: 168.6 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/10.77, allocations: 260 kB / 4.652 GB, free: 168.2 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.96/15.73, allocations: 7.781 kB / 4.652 GB, free: 168.2 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit_res.mat does not exist to compare? outputFormat=mat