Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.769/1.769, allocations: 289.9 MB / 297.4 MB, free: 6.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001249/0.001249, allocations: 176.8 kB / 366.7 MB, free: 1.629 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.909/1.909, allocations: 205.2 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 92.77 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.443e-05/2.447e-05, allocations: 4 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8933/0.8933, allocations: 116.3 MB / 0.9733 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.504/6.397, allocations: 2.066 GB / 3.04 GB, free: 17.54 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/6.398, allocations: 90.95 kB / 3.04 GB, free: 17.49 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.321/12.72, allocations: 1.78 GB / 4.82 GB, free: 68.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.016e-06/12.72, allocations: 0 / 4.82 GB, free: 68.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001037/12.72, allocations: 31.98 kB / 4.82 GB, free: 68.46 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001935/12.72, allocations: 1.161 MB / 4.821 GB, free: 67.25 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/12.72, allocations: 8.031 kB / 4.821 GB, free: 67.24 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007747/12.72, allocations: 182.5 kB / 4.822 GB, free: 67.06 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/12.72, allocations: 1.104 MB / 4.823 GB, free: 65.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/12.72, allocations: 19.98 kB / 4.823 GB, free: 65.88 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.985e-05/12.72, allocations: 36 kB / 4.823 GB, free: 65.85 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006416/12.72, allocations: 466.3 kB / 4.823 GB, free: 65.39 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008349/12.73, allocations: 0.6727 MB / 4.824 GB, free: 64.64 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/12.73, allocations: 7.953 kB / 4.824 GB, free: 64.63 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.751e-05/12.73, allocations: 3.984 kB / 4.824 GB, free: 64.63 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/12.73, allocations: 16 kB / 4.824 GB, free: 64.61 MB / 0.948 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.00326/12.73, allocations: 4.457 MB / 4.828 GB, free: 59.79 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000475/12.73, allocations: 435.5 kB / 4.829 GB, free: 59.35 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002638/12.73, allocations: 238.8 kB / 4.829 GB, free: 59.12 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002732/12.73, allocations: 190.7 kB / 4.829 GB, free: 58.89 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003314/12.73, allocations: 274.6 kB / 4.829 GB, free: 58.61 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 1.864e-06/12.73, allocations: 0 / 4.829 GB, free: 58.61 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001556/12.73, allocations: 0.7477 MB / 4.83 GB, free: 57.85 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/12.73, allocations: 81.11 kB / 4.83 GB, free: 57.75 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008509/12.73, allocations: 0.856 MB / 4.831 GB, free: 56.88 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/12.73, allocations: 29.64 kB / 4.831 GB, free: 56.84 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/12.73, allocations: 0.4889 MB / 4.831 GB, free: 56.35 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.377e-05/12.73, allocations: 106.7 kB / 4.832 GB, free: 56.24 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/12.73, allocations: 0 / 4.832 GB, free: 56.24 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.967e-05/12.73, allocations: 322 kB / 4.832 GB, free: 55.92 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/12.73, allocations: 180.8 kB / 4.832 GB, free: 55.75 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/12.73, allocations: 499.9 kB / 4.833 GB, free: 55.11 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/12.73, allocations: 265.6 kB / 4.833 GB, free: 54.86 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/12.73, allocations: 11.95 kB / 4.833 GB, free: 54.84 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001358/12.74, allocations: 0.8809 MB / 4.834 GB, free: 53.95 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004919/12.74, allocations: 2.118 MB / 4.836 GB, free: 51.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/12.74, allocations: 8 kB / 4.836 GB, free: 51.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004052/12.74, allocations: 234.6 kB / 4.836 GB, free: 51.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/12.74, allocations: 59.91 kB / 4.836 GB, free: 51.37 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009029/12.74, allocations: 1.102 MB / 4.837 GB, free: 50.24 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008127/12.74, allocations: 91.52 kB / 4.837 GB, free: 50.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.405e-05/12.74, allocations: 28.14 kB / 4.837 GB, free: 50.12 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/12.74, allocations: 5.359 kB / 4.837 GB, free: 50.12 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009397/12.74, allocations: 0.5943 MB / 4.838 GB, free: 49.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/12.74, allocations: 8 kB / 4.838 GB, free: 49.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004379/12.74, allocations: 195.9 kB / 4.838 GB, free: 49.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/12.74, allocations: 67.84 kB / 4.838 GB, free: 49.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002918/12.74, allocations: 2.961 MB / 4.841 GB, free: 46.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000745/12.74, allocations: 79.69 kB / 4.841 GB, free: 46.08 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/12.74, allocations: 24 kB / 4.841 GB, free: 46.05 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * 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.0001574/12.74, allocations: 132.7 kB / 4.841 GB, free: 45.92 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007918/12.74, allocations: 0.6137 MB / 4.842 GB, free: 45.29 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-05/12.74, allocations: 90.88 kB / 4.842 GB, free: 45.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009766/12.75, allocations: 0.6473 MB / 4.842 GB, free: 44.54 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/12.75, allocations: 4 kB / 4.842 GB, free: 44.54 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/12.75, allocations: 3.984 kB / 4.842 GB, free: 44.53 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/12.75, allocations: 0 / 4.842 GB, free: 44.53 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/12.75, allocations: 1.473 MB / 4.844 GB, free: 42.99 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/12.75, allocations: 7.922 kB / 4.844 GB, free: 42.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/12.75, allocations: 27.92 kB / 4.844 GB, free: 42.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003166/12.75, allocations: 183.2 kB / 4.844 GB, free: 42.77 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/12.75, allocations: 7.953 kB / 4.844 GB, free: 42.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008302/12.75, allocations: 0.9823 MB / 4.845 GB, free: 41.76 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/12.75, allocations: 0 / 4.845 GB, free: 41.76 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/12.75, allocations: 0.8602 MB / 4.846 GB, free: 40.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004416/12.75, allocations: 211.8 kB / 4.846 GB, free: 40.59 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-05/12.75, allocations: 4 kB / 4.846 GB, free: 40.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005233/12.75, allocations: 47.94 kB / 4.846 GB, free: 40.54 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/12.75, allocations: 27.92 kB / 4.846 GB, free: 40.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/12.75, allocations: 15.98 kB / 4.846 GB, free: 40.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008285/12.75, allocations: 0.6652 MB / 4.847 GB, free: 39.82 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.31e-07/12.75, allocations: 0 / 4.847 GB, free: 39.82 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00196/12.75, allocations: 495.3 kB / 4.847 GB, free: 39.34 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002816/12.76, allocations: 2.773 MB / 4.85 GB, free: 36.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001584/12.76, allocations: 0.9856 MB / 4.851 GB, free: 35.48 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/12.76, allocations: 0 / 4.851 GB, free: 35.48 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003418/12.76, allocations: 204.5 kB / 4.851 GB, free: 35.29 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/12.76, allocations: 399.1 kB / 4.852 GB, free: 34.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/12.76, allocations: 1.595 MB / 4.853 GB, free: 33.23 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000582/12.76, allocations: 1.213 MB / 4.854 GB, free: 31.99 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001514/12.77, allocations: 0.6471 MB / 4.855 GB, free: 31.34 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/12.77, allocations: 291.3 kB / 4.855 GB, free: 31.05 MB / 0.948 GB Notification: Performance of SimCode: time 2.3e-07/12.77, allocations: 0 / 4.855 GB, free: 31.05 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6557/13.42, allocations: 32.53 MB / 4.887 GB, free: 270.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001545/13.42, allocations: 182.8 kB / 4.887 GB, free: 270.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.258/16.68, allocations: 0.7188 kB / 4.887 GB, free: 270.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)