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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.442/2.442, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003185, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6064/0.6067, allocations: 142.3 MB / 0.9536 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1634/0.7701, allocations: 135.7 MB / 1.086 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002669/0.7728, allocations: 1.675 MB / 1.088 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002165/0.7731, allocations: 11.94 kB / 1.088 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005329/0.7736, allocations: 183.2 kB / 1.088 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.7748, allocations: 0.4985 MB / 1.088 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009715/0.7757, allocations: 413.3 kB / 1.089 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00194/0.7777, allocations: 1.493 MB / 1.09 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000899/0.7786, allocations: 0.6956 MB / 1.091 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.7797, allocations: 0.6929 MB / 1.092 GB, free: 2.566 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000617/0.7804, allocations: 497.8 kB / 1.092 GB, free: 2.078 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.353e-05/0.7804, allocations: 32 kB / 1.092 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009326/0.7814, allocations: 419.3 kB / 1.093 GB, free: 1.637 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002798/0.7817, allocations: 263.1 kB / 1.093 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.7819, allocations: 229.1 kB / 1.093 GB, free: 1.148 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.783, allocations: 0.9703 MB / 1.094 GB, free: 180 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.783, allocations: 0 / 1.094 GB, free: 180 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.773e-06/0.783, allocations: 4 kB / 1.094 GB, free: 176 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.783, allocations: 0 / 1.094 GB, free: 176 kB / 0.8419 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.001977/0.785, allocations: 1.278 MB / 1.095 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.785, allocations: 12.02 kB / 1.095 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.7852, allocations: 102.5 kB / 1.095 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007445/0.7859, allocations: 178.5 kB / 1.095 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.7874, allocations: 0.8078 MB / 1.096 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/0.7875, allocations: 44.94 kB / 1.096 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.173e-05/0.7875, allocations: 60 kB / 1.096 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.7886, allocations: 0.7849 MB / 1.097 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.7887, allocations: 4 kB / 1.097 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.7887, allocations: 23.94 kB / 1.097 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.7887, allocations: 16 kB / 1.097 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000915/0.7897, allocations: 0.5423 MB / 1.098 GB, free: 12.12 MB / 0.8575 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.004101/0.7938, allocations: 4.607 MB / 1.102 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007301/0.7945, allocations: 430.3 kB / 1.103 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.97e-05/0.7946, allocations: 12 kB / 1.103 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004872/0.7951, allocations: 309.6 kB / 1.103 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=31): time 1.894e-06/0.7951, allocations: 224 / 1.103 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of matching and sorting (n=31): time 0.001344/0.7964, allocations: 0.6501 MB / 1.104 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.7965, allocations: 118.7 kB / 1.104 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.7978, allocations: 1.106 MB / 1.105 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.639e-05/0.7979, allocations: 37.7 kB / 1.105 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003992/0.7983, allocations: 0.4884 MB / 1.105 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.794e-05/0.7984, allocations: 106.5 kB / 1.105 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.7984, allocations: 4 kB / 1.105 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.7985, allocations: 326 kB / 1.106 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/0.7989, allocations: 188.7 kB / 1.106 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005541/0.7994, allocations: 0.4901 MB / 1.106 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/0.7999, allocations: 295.9 kB / 1.107 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/0.7999, allocations: 4 kB / 1.107 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001056/0.801, allocations: 0.6788 MB / 1.107 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007232/0.8017, allocations: 2.136 MB / 1.109 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.8017, allocations: 8 kB / 1.109 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.8017, allocations: 8 kB / 1.109 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001907/0.8037, allocations: 387.3 kB / 1.11 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003409/0.8071, allocations: 6.087 MB / 1.116 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008863/0.808, allocations: 111.5 kB / 1.116 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.307e-05/0.8081, allocations: 24.47 kB / 1.116 GB, free: 8.527 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.8081, allocations: 4 kB / 1.116 GB, free: 8.523 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009048/0.809, allocations: 0.5441 MB / 1.116 GB, free: 7.973 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.809, allocations: 8 kB / 1.116 GB, free: 7.965 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.487e-06/0.809, allocations: 8 kB / 1.116 GB, free: 7.957 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005596/0.8096, allocations: 160.1 kB / 1.117 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.8096, allocations: 11.98 kB / 1.117 GB, free: 7.789 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006787/0.8103, allocations: 91.53 kB / 1.117 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.8103, allocations: 24 kB / 1.117 GB, free: 7.676 MB / 0.8731 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 (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.0005763/0.8109, allocations: 476.6 kB / 1.117 GB, free: 7.199 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.811, allocations: 98.78 kB / 1.117 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000812/0.8119, allocations: 479.5 kB / 1.118 GB, free: 6.625 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.8119, allocations: 4 kB / 1.118 GB, free: 6.621 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.8119, allocations: 0 / 1.118 GB, free: 6.621 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.8119, allocations: 4 kB / 1.118 GB, free: 6.617 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.8134, allocations: 1.098 MB / 1.119 GB, free: 5.441 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.8134, allocations: 12.16 kB / 1.119 GB, free: 5.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006167/0.814, allocations: 151.9 kB / 1.119 GB, free: 5.281 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.814, allocations: 4 kB / 1.119 GB, free: 5.277 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.8141, allocations: 11.98 kB / 1.119 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002835/0.8169, allocations: 6.024 MB / 1.125 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.8169, allocations: 4.031 kB / 1.125 GB, free: 15 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008485/0.8178, allocations: 0.6326 MB / 1.125 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003473/0.8181, allocations: 219.8 kB / 1.126 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.8182, allocations: 11.98 kB / 1.126 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004803/0.8187, allocations: 55.8 kB / 1.126 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/0.8188, allocations: 27.95 kB / 1.126 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.8189, allocations: 19.83 kB / 1.126 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009384/0.8198, allocations: 0.7875 MB / 1.127 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8198, allocations: 0 / 1.127 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001041/0.8209, allocations: 407.4 kB / 1.127 GB, free: 12.75 MB / 0.8887 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 (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.001454/0.8223, allocations: 1.722 MB / 1.129 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003022/0.8253, allocations: 1.107 MB / 1.13 GB, free: 9.828 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.8254, allocations: 4.125 kB / 1.13 GB, free: 9.824 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008051/0.8262, allocations: 296 kB / 1.13 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/0.828, allocations: 466.1 kB / 1.13 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.8397, allocations: 9.611 MB / 1.14 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000831/0.8406, allocations: 1.197 MB / 1.141 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.00114/0.8418, allocations: 375.5 kB / 1.141 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003676/0.8421, allocations: 315.3 kB / 1.142 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of SimCode: time 8.61e-07/0.8421, allocations: 0 / 1.142 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04168/0.8838, allocations: 26.36 MB / 1.167 GB, free: 3.27 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.884, allocations: 260.8 kB / 1.168 GB, free: 2.918 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/3.205, allocations: 64 / 1.168 GB, free: 2.918 MB / 0.92 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