Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.395/2.395, allocations: 390.5 MB / 398 MB, free: 10.95 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.001066/0.001066, allocations: 188.1 kB / 491.2 MB, free: 1.57 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.555/1.555, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.0009627/0.0009627, allocations: 91.53 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.731e-05/1.734e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.34, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.434/6.774, allocations: 1.872 GB / 3.084 GB, free: 359.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/6.774, allocations: 91.48 kB / 3.084 GB, free: 359.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.482/13.26, allocations: 1.794 GB / 4.878 GB, free: 344.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.066e-06/13.26, allocations: 0 / 4.878 GB, free: 344.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.911e-05/13.26, allocations: 33.53 kB / 4.879 GB, free: 344.9 MB / 1.151 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.001722/13.26, allocations: 1.153 MB / 4.88 GB, free: 344.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/13.26, allocations: 7.906 kB / 4.88 GB, free: 344.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007363/13.26, allocations: 192.9 kB / 4.88 GB, free: 344.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/13.26, allocations: 1.094 MB / 4.881 GB, free: 343.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/13.26, allocations: 21.92 kB / 4.881 GB, free: 343.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.819e-05/13.26, allocations: 36.53 kB / 4.881 GB, free: 343.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006586/13.26, allocations: 469.6 kB / 4.881 GB, free: 343.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000828/13.26, allocations: 0.6758 MB / 4.882 GB, free: 343.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/13.26, allocations: 3.938 kB / 4.882 GB, free: 343.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/13.26, allocations: 10 kB / 4.882 GB, free: 343.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/13.26, allocations: 11.62 kB / 4.882 GB, free: 343.7 MB / 1.151 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.003171/13.27, allocations: 4.467 MB / 4.886 GB, free: 340.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004785/13.27, allocations: 440.9 kB / 4.887 GB, free: 340.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/13.27, allocations: 247.2 kB / 4.887 GB, free: 340.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/13.27, allocations: 194.6 kB / 4.887 GB, free: 340.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003568/13.27, allocations: 258.5 kB / 4.888 GB, free: 340 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.034e-06/13.27, allocations: 0 / 4.888 GB, free: 340 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.001598/13.27, allocations: 0.754 MB / 4.888 GB, free: 339.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/13.27, allocations: 83.64 kB / 4.888 GB, free: 339.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009025/13.27, allocations: 0.8586 MB / 4.889 GB, free: 339.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/13.27, allocations: 33.58 kB / 4.889 GB, free: 339.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/13.27, allocations: 482.3 kB / 4.89 GB, free: 338.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.237e-05/13.27, allocations: 109.4 kB / 4.89 GB, free: 338.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/13.27, allocations: 0 / 4.89 GB, free: 338.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.818e-05/13.27, allocations: 328.6 kB / 4.89 GB, free: 338.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/13.27, allocations: 172 kB / 4.89 GB, free: 338.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/13.27, allocations: 0.4898 MB / 4.891 GB, free: 338 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/13.27, allocations: 264.9 kB / 4.891 GB, free: 338 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/13.27, allocations: 3.938 kB / 4.891 GB, free: 338 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001428/13.27, allocations: 0.8828 MB / 4.892 GB, free: 337.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005019/13.27, allocations: 2.124 MB / 4.894 GB, free: 335.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/13.27, allocations: 7.062 kB / 4.894 GB, free: 335.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004167/13.27, allocations: 226.9 kB / 4.894 GB, free: 335.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/13.27, allocations: 63.11 kB / 4.894 GB, free: 335.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009393/13.28, allocations: 1.099 MB / 4.895 GB, free: 334.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007887/13.28, allocations: 90.7 kB / 4.895 GB, free: 334.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.257e-05/13.28, allocations: 25.41 kB / 4.895 GB, free: 334.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.815e-06/13.28, allocations: 3.969 kB / 4.895 GB, free: 334.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000958/13.28, allocations: 0.5971 MB / 4.896 GB, free: 334.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/13.28, allocations: 6.625 kB / 4.896 GB, free: 334.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004521/13.28, allocations: 192.9 kB / 4.896 GB, free: 334.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/13.28, allocations: 73.69 kB / 4.896 GB, free: 334.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002928/13.28, allocations: 2.97 MB / 4.899 GB, free: 332.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007432/13.28, allocations: 85.12 kB / 4.899 GB, free: 332.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/13.28, allocations: 25.81 kB / 4.899 GB, free: 332.4 MB / 1.151 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.0001469/13.28, allocations: 125.5 kB / 4.899 GB, free: 332.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008023/13.28, allocations: 0.6105 MB / 4.9 GB, free: 332.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.605e-05/13.28, allocations: 93.59 kB / 4.9 GB, free: 332 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009449/13.28, allocations: 0.6498 MB / 4.901 GB, free: 331.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/13.28, allocations: 3.938 kB / 4.901 GB, free: 331.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/13.28, allocations: 3.406 kB / 4.901 GB, free: 331.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/13.28, allocations: 3.938 kB / 4.901 GB, free: 331.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/13.29, allocations: 1.471 MB / 4.902 GB, free: 331 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/13.29, allocations: 3.188 kB / 4.902 GB, free: 331 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/13.29, allocations: 23.27 kB / 4.902 GB, free: 331 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000293/13.29, allocations: 182.2 kB / 4.902 GB, free: 331 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/13.29, allocations: 7.406 kB / 4.902 GB, free: 331 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006964/13.29, allocations: 0.979 MB / 4.903 GB, free: 330.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/13.29, allocations: 3.531 kB / 4.903 GB, free: 330.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008502/13.29, allocations: 0.8543 MB / 4.904 GB, free: 329.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/13.29, allocations: 211.3 kB / 4.904 GB, free: 329.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.467e-05/13.29, allocations: 7.609 kB / 4.904 GB, free: 329.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004849/13.29, allocations: 52.52 kB / 4.904 GB, free: 329.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/13.29, allocations: 42.14 kB / 4.904 GB, free: 329.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/13.29, allocations: 11.69 kB / 4.904 GB, free: 329.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007275/13.29, allocations: 0.6678 MB / 4.905 GB, free: 329.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/13.29, allocations: 0 / 4.905 GB, free: 329.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001496/13.29, allocations: 476.3 kB / 4.906 GB, free: 329.3 MB / 1.151 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.002332/13.29, allocations: 2.775 MB / 4.908 GB, free: 327.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001519/13.29, allocations: 0.9812 MB / 4.909 GB, free: 327.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/13.29, allocations: 7.469 kB / 4.909 GB, free: 327.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003566/13.29, allocations: 201.6 kB / 4.909 GB, free: 327.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/13.3, allocations: 404.3 kB / 4.91 GB, free: 327 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/13.3, allocations: 1.611 MB / 4.911 GB, free: 326.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005267/13.3, allocations: 1.202 MB / 4.913 GB, free: 325.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001538/13.3, allocations: 0.6461 MB / 4.913 GB, free: 325.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/13.3, allocations: 300.4 kB / 4.913 GB, free: 325.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.513e-06/13.3, allocations: 7.438 kB / 4.913 GB, free: 325.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05633/13.36, allocations: 32.52 MB / 4.945 GB, free: 303.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/13.36, allocations: 204.2 kB / 4.945 GB, free: 303.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.173/16.53, allocations: 0 / 4.945 GB, free: 303.6 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat does not exist to compare? outputFormat=mat