Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",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.242/2.242, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001057/0.001057, allocations: 191.9 kB / 0.4901 GB, free: 2.211 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.576/1.576, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.0009617/0.000962, allocations: 114.3 kB / 0.9396 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003488, allocations: 18.16 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.316, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.161/5.477, allocations: 1.873 GB / 3.102 GB, free: 79.23 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/5.477, allocations: 90.59 kB / 3.102 GB, free: 79.18 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.473/8.95, allocations: 0.9813 GB / 4.083 GB, free: 1.965 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.713e-06/8.95, allocations: 0 / 4.083 GB, free: 1.965 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.224e-05/8.95, allocations: 31.98 kB / 4.083 GB, free: 1.934 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002822/8.953, allocations: 1.428 MB / 4.085 GB, free: 456 kB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/8.953, allocations: 8.828 kB / 4.085 GB, free: 448 kB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001035/8.953, allocations: 94.52 kB / 4.085 GB, free: 344 kB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006861/8.954, allocations: 194.5 kB / 4.085 GB, free: 148 kB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8182/9.772, allocations: 1.11 MB / 4.086 GB, free: 376 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.712e-05/9.772, allocations: 51.58 kB / 4.086 GB, free: 376 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/9.772, allocations: 57.84 kB / 4.086 GB, free: 376 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/9.773, allocations: 0.7662 MB / 4.087 GB, free: 375.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/9.773, allocations: 5.469 kB / 4.087 GB, free: 375.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.542e-05/9.774, allocations: 19.12 kB / 4.087 GB, free: 375.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/9.774, allocations: 15.19 kB / 4.087 GB, free: 375.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008462/9.774, allocations: 0.5151 MB / 4.087 GB, free: 375.8 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.00559/9.78, allocations: 4.586 MB / 4.092 GB, free: 372.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008772/9.781, allocations: 425.7 kB / 4.092 GB, free: 372.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000325/9.781, allocations: 194.2 kB / 4.092 GB, free: 372.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006169/9.782, allocations: 298.6 kB / 4.093 GB, free: 372.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 2.665e-06/9.782, allocations: 1.594 kB / 4.093 GB, free: 372.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.004101/9.786, allocations: 1.308 MB / 4.094 GB, free: 372 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/9.786, allocations: 84.06 kB / 4.094 GB, free: 371.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/9.788, allocations: 0.9877 MB / 4.095 GB, free: 371.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.796e-05/9.788, allocations: 41.89 kB / 4.095 GB, free: 371.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005704/9.789, allocations: 490.4 kB / 4.096 GB, free: 371.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/9.789, allocations: 110.5 kB / 4.096 GB, free: 371.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/9.789, allocations: 5.812 kB / 4.096 GB, free: 371.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.974e-05/9.789, allocations: 325.3 kB / 4.096 GB, free: 371.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004227/9.789, allocations: 186.4 kB / 4.096 GB, free: 371.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006695/9.79, allocations: 0.5026 MB / 4.097 GB, free: 370.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005273/9.79, allocations: 291.3 kB / 4.097 GB, free: 370.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/9.79, allocations: 2.25 kB / 4.097 GB, free: 370.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001926/9.792, allocations: 0.8948 MB / 4.098 GB, free: 370.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006434/9.793, allocations: 2.134 MB / 4.1 GB, free: 368.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/9.793, allocations: 8.875 kB / 4.1 GB, free: 368.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006948/9.794, allocations: 266.8 kB / 4.1 GB, free: 368.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/9.794, allocations: 69.05 kB / 4.1 GB, free: 368.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001592/9.796, allocations: 1.084 MB / 4.101 GB, free: 367.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/9.797, allocations: 103.6 kB / 4.101 GB, free: 367.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.581e-05/9.797, allocations: 28.92 kB / 4.101 GB, free: 367.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/9.797, allocations: 4.5 kB / 4.101 GB, free: 367.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001582/9.798, allocations: 0.717 MB / 4.102 GB, free: 367.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/9.798, allocations: 9.125 kB / 4.102 GB, free: 367.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006609/9.799, allocations: 219.1 kB / 4.102 GB, free: 367.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/9.799, allocations: 66.8 kB / 4.102 GB, free: 367.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004359/9.804, allocations: 3.06 MB / 4.105 GB, free: 366.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/9.805, allocations: 93.94 kB / 4.105 GB, free: 366.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.372e-05/9.805, allocations: 24.12 kB / 4.105 GB, free: 366.4 MB / 1.167 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 () * Number of clocked 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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.001113/9.806, allocations: 466.4 kB / 4.106 GB, free: 366.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/9.807, allocations: 102.4 kB / 4.106 GB, free: 366.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/9.808, allocations: 0.7101 MB / 4.107 GB, free: 366.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/9.808, allocations: 3.375 kB / 4.107 GB, free: 366.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/9.808, allocations: 5.203 kB / 4.107 GB, free: 366.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/9.808, allocations: 1.266 kB / 4.107 GB, free: 366.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003283/9.812, allocations: 1.596 MB / 4.108 GB, free: 365.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/9.812, allocations: 2.188 kB / 4.108 GB, free: 365.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/9.812, allocations: 28.5 kB / 4.108 GB, free: 365.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006849/9.812, allocations: 255.5 kB / 4.109 GB, free: 365.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.666e-05/9.812, allocations: 15.25 kB / 4.109 GB, free: 365.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/9.814, allocations: 1.024 MB / 4.11 GB, free: 365.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/9.814, allocations: 4.516 kB / 4.11 GB, free: 365.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/9.816, allocations: 0.908 MB / 4.11 GB, free: 364.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000814/9.816, allocations: 224.8 kB / 4.111 GB, free: 364.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003232/9.817, allocations: 12.62 kB / 4.111 GB, free: 364.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000782/9.818, allocations: 56.97 kB / 4.111 GB, free: 364.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/9.818, allocations: 29.69 kB / 4.111 GB, free: 364.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/9.818, allocations: 14.38 kB / 4.111 GB, free: 364.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001739/9.819, allocations: 0.7837 MB / 4.112 GB, free: 364.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.9e-07/9.819, allocations: 0 / 4.112 GB, free: 364.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002741/9.822, allocations: 0.5139 MB / 4.112 GB, free: 364.4 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: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * 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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003709/9.826, allocations: 2.726 MB / 4.115 GB, free: 362.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003678/9.83, allocations: 1.19 MB / 4.116 GB, free: 362.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/9.83, allocations: 0 / 4.116 GB, free: 362.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007821/9.83, allocations: 280.1 kB / 4.116 GB, free: 362.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00304/9.834, allocations: 465 kB / 4.117 GB, free: 362.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/9.849, allocations: 9.821 MB / 4.126 GB, free: 357.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007558/9.85, allocations: 1.208 MB / 4.127 GB, free: 356.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001301/9.851, allocations: 324.8 kB / 4.128 GB, free: 356.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004017/9.851, allocations: 311.4 kB / 4.128 GB, free: 356.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.403e-06/9.851, allocations: 3.75 kB / 4.128 GB, free: 356.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07991/9.931, allocations: 42.13 MB / 4.169 GB, free: 354.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/9.931, allocations: 272.1 kB / 4.169 GB, free: 354.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.755/13.69, allocations: 2.625 kB / 4.169 GB, free: 354.3 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat does not exist to compare? outputFormat=mat