Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8356/0.8356, allocations: 141.8 MB / 149.3 MB, free: 9.195 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 180.8 kB / 182.2 MB, free: 9.434 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008858/0.0008861, allocations: 97.77 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001722/0.001722, allocations: 280.8 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.293e-05/2.282e-05, allocations: 4 kB / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4783/0.4784, allocations: 82.78 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.183/5.661, allocations: 1.828 GB / 2.585 GB, free: 189.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/5.662, allocations: 81.64 kB / 2.585 GB, free: 189.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.37/9.032, allocations: 0.9559 GB / 3.541 GB, free: 46.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.363e-06/9.032, allocations: 0 / 3.541 GB, free: 46.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.374e-05/9.032, allocations: 31.98 kB / 3.541 GB, free: 46.04 MB / 0.698 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.001595/9.034, allocations: 1.091 MB / 3.542 GB, free: 44.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/9.034, allocations: 12.03 kB / 3.542 GB, free: 44.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000708/9.034, allocations: 186.5 kB / 3.542 GB, free: 44.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/9.036, allocations: 1.062 MB / 3.543 GB, free: 43.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/9.036, allocations: 16 kB / 3.543 GB, free: 43.58 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.996e-05/9.036, allocations: 36 kB / 3.543 GB, free: 43.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006654/9.037, allocations: 482.3 kB / 3.544 GB, free: 43.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007267/9.038, allocations: 0.5662 MB / 3.544 GB, free: 42.49 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/9.038, allocations: 0 / 3.544 GB, free: 42.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.021e-05/9.038, allocations: 0 / 3.544 GB, free: 42.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/9.038, allocations: 12 kB / 3.544 GB, free: 42.48 MB / 0.698 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.002615/9.041, allocations: 3.116 MB / 3.548 GB, free: 39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004312/9.041, allocations: 423.7 kB / 3.548 GB, free: 38.58 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/9.041, allocations: 238.6 kB / 3.548 GB, free: 38.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002547/9.041, allocations: 190.4 kB / 3.548 GB, free: 38.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/9.041, allocations: 38.8 kB / 3.548 GB, free: 38.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 1.843e-06/9.042, allocations: 0 / 3.548 GB, free: 38.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.001481/9.043, allocations: 0.7336 MB / 3.549 GB, free: 37.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/9.043, allocations: 59.28 kB / 3.549 GB, free: 37.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007469/9.044, allocations: 0.7743 MB / 3.55 GB, free: 36.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/9.044, allocations: 29.7 kB / 3.55 GB, free: 36.45 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/9.044, allocations: 445 kB / 3.55 GB, free: 36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.765e-05/9.044, allocations: 94.5 kB / 3.55 GB, free: 35.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.575e-05/9.044, allocations: 0 / 3.55 GB, free: 35.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.056e-05/9.044, allocations: 318 kB / 3.551 GB, free: 35.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/9.044, allocations: 135.9 kB / 3.551 GB, free: 35.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/9.045, allocations: 334.5 kB / 3.551 GB, free: 35.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/9.045, allocations: 186.9 kB / 3.551 GB, free: 34.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.138e-05/9.045, allocations: 0 / 3.551 GB, free: 34.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001134/9.046, allocations: 0.715 MB / 3.552 GB, free: 34.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.554e-05/9.046, allocations: 357.4 kB / 3.552 GB, free: 33.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/9.046, allocations: 4 kB / 3.552 GB, free: 33.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003808/9.046, allocations: 216.6 kB / 3.553 GB, free: 33.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/9.047, allocations: 19.98 kB / 3.553 GB, free: 33.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008121/9.047, allocations: 1.1 MB / 3.554 GB, free: 32.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006237/9.048, allocations: 67.83 kB / 3.554 GB, free: 32.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/9.048, allocations: 12 kB / 3.554 GB, free: 32.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.344e-06/9.048, allocations: 4 kB / 3.554 GB, free: 32.33 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007642/9.049, allocations: 446.2 kB / 3.554 GB, free: 31.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/9.049, allocations: 4 kB / 3.554 GB, free: 31.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000444/9.049, allocations: 197.7 kB / 3.554 GB, free: 31.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.521e-05/9.049, allocations: 23.92 kB / 3.554 GB, free: 31.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002857/9.052, allocations: 2.938 MB / 3.557 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005857/9.053, allocations: 71.78 kB / 3.557 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/9.053, allocations: 19.97 kB / 3.557 GB, free: 28.52 MB / 0.698 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 () * 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.0001098/9.053, allocations: 105 kB / 3.557 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007388/9.054, allocations: 0.5786 MB / 3.558 GB, free: 27.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.479e-05/9.054, allocations: 82.97 kB / 3.558 GB, free: 27.74 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009496/9.055, allocations: 0.6467 MB / 3.559 GB, free: 27.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/9.055, allocations: 4 kB / 3.559 GB, free: 27.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/9.055, allocations: 0 / 3.559 GB, free: 27.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/9.055, allocations: 7.938 kB / 3.559 GB, free: 27.06 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/9.057, allocations: 1.367 MB / 3.56 GB, free: 25.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/9.057, allocations: 0 / 3.56 GB, free: 25.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.796e-05/9.057, allocations: 27.92 kB / 3.56 GB, free: 25.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002848/9.057, allocations: 176.9 kB / 3.56 GB, free: 25.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/9.057, allocations: 8 kB / 3.56 GB, free: 25.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006281/9.058, allocations: 0.9871 MB / 3.561 GB, free: 24.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/9.058, allocations: 0 / 3.561 GB, free: 24.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007676/9.059, allocations: 0.8332 MB / 3.562 GB, free: 23.49 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002236/9.059, allocations: 200 kB / 3.562 GB, free: 23.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.207e-05/9.059, allocations: 8 kB / 3.562 GB, free: 23.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004488/9.059, allocations: 51.8 kB / 3.562 GB, free: 23.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/9.059, allocations: 23.92 kB / 3.562 GB, free: 23.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/9.059, allocations: 8 kB / 3.562 GB, free: 23.18 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006011/9.06, allocations: 0.6122 MB / 3.563 GB, free: 22.58 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/9.06, allocations: 7.938 kB / 3.563 GB, free: 22.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001234/9.061, allocations: 463.2 kB / 3.563 GB, free: 22.12 MB / 0.698 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 () * 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.002123/9.063, allocations: 2.677 MB / 3.566 GB, free: 19.38 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001063/9.065, allocations: 0.6957 MB / 3.567 GB, free: 18.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/9.065, allocations: 3.938 kB / 3.567 GB, free: 18.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000277/9.065, allocations: 182.6 kB / 3.567 GB, free: 18.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/9.066, allocations: 392 kB / 3.567 GB, free: 18.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/9.069, allocations: 1.554 MB / 3.569 GB, free: 16.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005406/9.069, allocations: 1.197 MB / 3.57 GB, free: 15.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001272/9.07, allocations: 0.5371 MB / 3.57 GB, free: 14.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/9.071, allocations: 291.3 kB / 3.571 GB, free: 14.43 MB / 0.698 GB Notification: Performance of SimCode: time 5.41e-07/9.071, allocations: 4 kB / 3.571 GB, free: 14.42 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5386/9.609, allocations: 30.62 MB / 3.601 GB, free: 190.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/9.609, allocations: 192.1 kB / 3.601 GB, free: 190.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.041/12.65, allocations: 3.062 kB / 3.601 GB, free: 190.8 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsSeries.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1)