Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.38/2.38, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001364/0.001364, allocations: 180.8 kB / 487.4 MB, free: 5.035 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.596/1.596, allocations: 221.5 MB / 0.7824 GB, free: 1.039 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009713/0.0009713, allocations: 95.78 kB / 0.9219 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.147e-05/2.149e-05, allocations: 7.984 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3018, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.368/5.67, allocations: 1.868 GB / 3.075 GB, free: 362.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/5.67, allocations: 93.42 kB / 3.075 GB, free: 362.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.075/8.745, allocations: 0.9583 GB / 4.033 GB, free: 353.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.285e-06/8.745, allocations: 2.812 kB / 4.033 GB, free: 353.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.815e-05/8.745, allocations: 25.73 kB / 4.033 GB, free: 353.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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001736/8.747, allocations: 1.141 MB / 4.034 GB, free: 353.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/8.747, allocations: 10.91 kB / 4.034 GB, free: 353.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007437/8.748, allocations: 195.4 kB / 4.034 GB, free: 353 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/8.75, allocations: 1.069 MB / 4.035 GB, free: 352.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/8.75, allocations: 18.22 kB / 4.035 GB, free: 352.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.488e-05/8.75, allocations: 41.95 kB / 4.035 GB, free: 352.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000628/8.751, allocations: 474.8 kB / 4.036 GB, free: 352.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007589/8.751, allocations: 0.6678 MB / 4.036 GB, free: 351.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/8.751, allocations: 0 / 4.036 GB, free: 351.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/8.751, allocations: 3.938 kB / 4.036 GB, free: 351.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/8.752, allocations: 18.11 kB / 4.036 GB, free: 351.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.002955/8.754, allocations: 4.467 MB / 4.041 GB, free: 347.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/8.755, allocations: 442.8 kB / 4.041 GB, free: 347.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/8.755, allocations: 240.1 kB / 4.041 GB, free: 347.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002631/8.755, allocations: 190.9 kB / 4.042 GB, free: 347.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003032/8.756, allocations: 271.7 kB / 4.042 GB, free: 346.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 1.933e-06/8.756, allocations: 0 / 4.042 GB, free: 346.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.0008433/8.757, allocations: 499.6 kB / 4.042 GB, free: 346.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/8.757, allocations: 80.86 kB / 4.042 GB, free: 346.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008219/8.758, allocations: 0.8488 MB / 4.043 GB, free: 346.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/8.758, allocations: 25.7 kB / 4.043 GB, free: 346.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/8.758, allocations: 497.2 kB / 4.044 GB, free: 345.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.732e-05/8.758, allocations: 109.7 kB / 4.044 GB, free: 345.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.126e-05/8.758, allocations: 3.5 kB / 4.044 GB, free: 345.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.52e-05/8.758, allocations: 324.9 kB / 4.044 GB, free: 345.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/8.758, allocations: 184.2 kB / 4.044 GB, free: 345.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/8.759, allocations: 0.4894 MB / 4.045 GB, free: 344.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/8.759, allocations: 256.1 kB / 4.045 GB, free: 344.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/8.759, allocations: 6.719 kB / 4.045 GB, free: 344.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007301/8.76, allocations: 0.6097 MB / 4.046 GB, free: 344.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003782/8.76, allocations: 2.131 MB / 4.048 GB, free: 342 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/8.76, allocations: 3.969 kB / 4.048 GB, free: 342 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/8.76, allocations: 7.875 kB / 4.048 GB, free: 342 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/8.762, allocations: 305.9 kB / 4.048 GB, free: 341.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/8.764, allocations: 6.184 MB / 4.054 GB, free: 335.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008841/8.765, allocations: 91.91 kB / 4.054 GB, free: 335.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.768e-05/8.765, allocations: 22.5 kB / 4.054 GB, free: 335.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/8.765, allocations: 3.969 kB / 4.054 GB, free: 335.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005232/8.765, allocations: 421.7 kB / 4.055 GB, free: 335.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/8.765, allocations: 11.89 kB / 4.055 GB, free: 335.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/8.765, allocations: 7.656 kB / 4.055 GB, free: 335.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/8.766, allocations: 146.6 kB / 4.055 GB, free: 335.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/8.766, allocations: 11.64 kB / 4.055 GB, free: 335.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006133/8.767, allocations: 76.25 kB / 4.055 GB, free: 335.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/8.767, allocations: 22.88 kB / 4.055 GB, free: 335.5 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 (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001247/8.767, allocations: 136.3 kB / 4.055 GB, free: 335.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004401/8.767, allocations: 402.2 kB / 4.055 GB, free: 335.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.201e-05/8.767, allocations: 93.88 kB / 4.056 GB, free: 335.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006108/8.768, allocations: 446.5 kB / 4.056 GB, free: 334.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/8.768, allocations: 7.656 kB / 4.056 GB, free: 334.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/8.768, allocations: 0 / 4.056 GB, free: 334.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/8.768, allocations: 0 / 4.056 GB, free: 334.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/8.769, allocations: 1.268 MB / 4.057 GB, free: 334 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/8.769, allocations: 3.906 kB / 4.057 GB, free: 334 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005701/8.77, allocations: 151.8 kB / 4.057 GB, free: 334 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/8.77, allocations: 0 / 4.057 GB, free: 334 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/8.77, allocations: 11.88 kB / 4.057 GB, free: 334 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00166/8.772, allocations: 6.033 MB / 4.063 GB, free: 327.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/8.772, allocations: 6.719 kB / 4.063 GB, free: 327.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005275/8.772, allocations: 0.6335 MB / 4.064 GB, free: 327.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002695/8.773, allocations: 209.4 kB / 4.064 GB, free: 327.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/8.773, allocations: 5.344 kB / 4.064 GB, free: 327.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004712/8.773, allocations: 45.52 kB / 4.064 GB, free: 327.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.362e-05/8.773, allocations: 37.34 kB / 4.064 GB, free: 327.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/8.773, allocations: 11.38 kB / 4.064 GB, free: 327.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006659/8.774, allocations: 0.6619 MB / 4.065 GB, free: 326.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/8.774, allocations: 0 / 4.065 GB, free: 326.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001313/8.775, allocations: 455.3 kB / 4.065 GB, free: 326.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 (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001968/8.777, allocations: 2.593 MB / 4.068 GB, free: 323.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002228/8.779, allocations: 0.9446 MB / 4.069 GB, free: 322.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/8.779, allocations: 0 / 4.069 GB, free: 322.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005623/8.78, allocations: 251.9 kB / 4.069 GB, free: 322.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/8.782, allocations: 384.9 kB / 4.069 GB, free: 322.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/8.784, allocations: 1.611 MB / 4.071 GB, free: 320.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/8.785, allocations: 1.202 MB / 4.072 GB, free: 319.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00166/8.786, allocations: 0.7483 MB / 4.073 GB, free: 318.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/8.787, allocations: 295.3 kB / 4.073 GB, free: 318.4 MB / 1.151 GB Notification: Performance of SimCode: time 6.32e-07/8.787, allocations: 0 / 4.073 GB, free: 318.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05262/8.839, allocations: 30.69 MB / 4.103 GB, free: 287.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/8.84, allocations: 178 kB / 4.103 GB, free: 287.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.215/12.05, allocations: 0 / 4.103 GB, free: 287.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat does not exist to compare? outputFormat=mat