Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.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.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries",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.454/2.454, allocations: 393.5 MB / 408.4 MB, free: 11 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.00147/0.00147, allocations: 186.6 kB / 0.4902 GB, free: 2.227 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.578/1.578, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001062/0.001062, allocations: 93.52 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003807, allocations: 14.25 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3478, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.874/5.222, allocations: 1.869 GB / 3.098 GB, free: 114.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/5.222, allocations: 84.52 kB / 3.098 GB, free: 114.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.035/8.258, allocations: 0.9668 GB / 4.065 GB, free: 40.79 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.373e-06/8.258, allocations: 0 / 4.065 GB, free: 40.79 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.192e-05/8.258, allocations: 35.92 kB / 4.065 GB, free: 40.75 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002565/8.261, allocations: 1.366 MB / 4.066 GB, free: 39.34 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/8.261, allocations: 8.828 kB / 4.066 GB, free: 39.33 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/8.261, allocations: 94.52 kB / 4.066 GB, free: 39.23 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006828/8.261, allocations: 190.4 kB / 4.067 GB, free: 39.04 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002002/8.263, allocations: 1.088 MB / 4.068 GB, free: 37.91 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/8.263, allocations: 41 kB / 4.068 GB, free: 37.87 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.909e-05/8.264, allocations: 59.98 kB / 4.068 GB, free: 37.81 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008595/8.264, allocations: 0.6549 MB / 4.068 GB, free: 37.14 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/8.264, allocations: 4 kB / 4.068 GB, free: 37.13 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.415e-05/8.264, allocations: 20 kB / 4.068 GB, free: 37.11 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/8.264, allocations: 12 kB / 4.068 GB, free: 37.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006685/8.265, allocations: 0.4918 MB / 4.069 GB, free: 36.61 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.002699/8.268, allocations: 3.237 MB / 4.072 GB, free: 33 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/8.268, allocations: 394.9 kB / 4.072 GB, free: 32.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000256/8.269, allocations: 194.4 kB / 4.073 GB, free: 32.38 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/8.269, allocations: 34.8 kB / 4.073 GB, free: 32.33 MB / 1.167 GB Notification: Performance of pre-optimization done (n=28): time 1.643e-06/8.269, allocations: 0 / 4.073 GB, free: 32.33 MB / 1.167 GB Notification: Performance of matching and sorting (n=28): time 0.002673/8.271, allocations: 1.19 MB / 4.074 GB, free: 31.12 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/8.271, allocations: 55.41 kB / 4.074 GB, free: 31.05 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000889/8.272, allocations: 0.9426 MB / 4.075 GB, free: 30.09 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/8.272, allocations: 37.7 kB / 4.075 GB, free: 30.05 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/8.273, allocations: 437.8 kB / 4.075 GB, free: 29.61 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.672e-05/8.273, allocations: 102.6 kB / 4.075 GB, free: 29.51 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.392e-05/8.273, allocations: 8 kB / 4.075 GB, free: 29.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.587e-05/8.273, allocations: 314 kB / 4.076 GB, free: 29.19 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/8.273, allocations: 139.8 kB / 4.076 GB, free: 29.05 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/8.273, allocations: 335.2 kB / 4.076 GB, free: 28.65 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/8.273, allocations: 185.5 kB / 4.076 GB, free: 28.47 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/8.273, allocations: 0 / 4.076 GB, free: 28.47 MB / 1.167 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008944/8.274, allocations: 0.6704 MB / 4.077 GB, free: 27.79 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.278e-05/8.275, allocations: 364.8 kB / 4.077 GB, free: 27.41 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/8.275, allocations: 3.953 kB / 4.077 GB, free: 27.41 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004659/8.275, allocations: 213.1 kB / 4.077 GB, free: 27.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/8.275, allocations: 27.92 kB / 4.077 GB, free: 27.17 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007305/8.276, allocations: 0.9984 MB / 4.078 GB, free: 26.14 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006754/8.277, allocations: 79.72 kB / 4.079 GB, free: 26.07 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/8.277, allocations: 23.98 kB / 4.079 GB, free: 26.04 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.036e-06/8.277, allocations: 4 kB / 4.079 GB, free: 26.04 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009014/8.278, allocations: 0.4974 MB / 4.079 GB, free: 25.54 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-06/8.278, allocations: 0 / 4.079 GB, free: 25.54 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004719/8.278, allocations: 209.6 kB / 4.079 GB, free: 25.33 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.597e-05/8.278, allocations: 23.98 kB / 4.079 GB, free: 25.31 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003004/8.281, allocations: 3.134 MB / 4.082 GB, free: 22.03 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006512/8.282, allocations: 87.7 kB / 4.082 GB, free: 21.94 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/8.282, allocations: 8 kB / 4.082 GB, free: 21.93 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004991/8.282, allocations: 452.8 kB / 4.083 GB, free: 21.48 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/8.282, allocations: 90.88 kB / 4.083 GB, free: 21.39 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/8.283, allocations: 0.7109 MB / 4.084 GB, free: 20.67 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/8.283, allocations: 8.188 kB / 4.084 GB, free: 20.66 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/8.284, allocations: 0 / 4.084 GB, free: 20.66 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/8.284, allocations: 7.969 kB / 4.084 GB, free: 20.66 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001952/8.285, allocations: 1.507 MB / 4.085 GB, free: 19.07 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/8.285, allocations: 0 / 4.085 GB, free: 19.07 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.798e-05/8.286, allocations: 23.98 kB / 4.085 GB, free: 19.05 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003829/8.286, allocations: 226.8 kB / 4.085 GB, free: 18.82 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/8.286, allocations: 15.94 kB / 4.085 GB, free: 18.81 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006033/8.287, allocations: 0.9698 MB / 4.086 GB, free: 17.81 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/8.287, allocations: 4 kB / 4.086 GB, free: 17.81 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008985/8.288, allocations: 0.9099 MB / 4.087 GB, free: 16.82 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/8.288, allocations: 219.8 kB / 4.087 GB, free: 16.58 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.204e-05/8.288, allocations: 11.98 kB / 4.087 GB, free: 16.57 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004663/8.288, allocations: 59.81 kB / 4.087 GB, free: 16.51 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/8.289, allocations: 19.97 kB / 4.087 GB, free: 16.49 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/8.289, allocations: 12 kB / 4.087 GB, free: 16.48 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007448/8.289, allocations: 0.763 MB / 4.088 GB, free: 15.71 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/8.289, allocations: 0 / 4.088 GB, free: 15.71 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001277/8.291, allocations: 471.6 kB / 4.089 GB, free: 15.25 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (9): * Single equations (assignments): 8 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002139/8.293, allocations: 2.628 MB / 4.091 GB, free: 12.55 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001247/8.294, allocations: 0.7411 MB / 4.092 GB, free: 11.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/8.294, allocations: 0 / 4.092 GB, free: 11.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003434/8.294, allocations: 211.1 kB / 4.092 GB, free: 11.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/8.296, allocations: 479.8 kB / 4.093 GB, free: 11.12 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009078/8.305, allocations: 6.397 MB / 4.099 GB, free: 4.512 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005932/8.306, allocations: 1.196 MB / 4.1 GB, free: 3.285 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007696/8.307, allocations: 199.3 kB / 4.1 GB, free: 3.086 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003577/8.307, allocations: 315.3 kB / 4.101 GB, free: 2.777 MB / 1.167 GB Notification: Performance of SimCode: time 1.563e-06/8.307, allocations: 0 / 4.101 GB, free: 2.777 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6989/9.006, allocations: 41.36 MB / 4.141 GB, free: 370.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/9.006, allocations: 268.7 kB / 4.141 GB, free: 370.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.264/12.27, allocations: 2.344 kB / 4.141 GB, free: 370.1 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat does not exist to compare? outputFormat=mat