Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",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.001215/0.001215, allocations: 100.2 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.001435/0.001435, allocations: 177.3 kB / 15.94 MB, free: 228 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.333/1.333, allocations: 223.2 MB / 239.9 MB, free: 5.324 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.349/2.349, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003287, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6964/0.6967, allocations: 142.3 MB / 0.9536 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1426/0.8394, allocations: 135.7 MB / 1.086 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004363/0.8438, allocations: 3.113 MB / 1.089 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003326/0.8442, allocations: 11.88 kB / 1.089 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006209/0.8448, allocations: 183.2 kB / 1.089 GB, free: 4.848 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.8461, allocations: 0.4946 MB / 1.09 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.8473, allocations: 458.9 kB / 1.09 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001884/0.8492, allocations: 1.501 MB / 1.092 GB, free: 2.402 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008463/0.85, allocations: 0.6994 MB / 1.092 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009785/0.851, allocations: 0.7085 MB / 1.093 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005016/0.8515, allocations: 489.8 kB / 1.094 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.314e-05/0.8516, allocations: 32 kB / 1.094 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008081/0.8524, allocations: 419.4 kB / 1.094 GB, free: 60 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003128/0.8528, allocations: 259.1 kB / 1.094 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.853, allocations: 233.1 kB / 1.094 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009846/0.854, allocations: 0.9663 MB / 1.095 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.854, allocations: 7.938 kB / 1.095 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.553e-06/0.854, allocations: 4 kB / 1.095 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.854, allocations: 0 / 1.095 GB, free: 14.59 MB / 0.8575 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.001971/0.856, allocations: 1.288 MB / 1.097 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.856, allocations: 8.031 kB / 1.097 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001062/0.8562, allocations: 90.52 kB / 1.097 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007112/0.8569, allocations: 198.4 kB / 1.097 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/0.8583, allocations: 0.7963 MB / 1.098 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.8584, allocations: 41 kB / 1.098 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-05/0.8585, allocations: 64 kB / 1.098 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.8596, allocations: 0.7849 MB / 1.099 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.8597, allocations: 7.938 kB / 1.099 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.028e-05/0.8597, allocations: 23.94 kB / 1.099 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.8597, allocations: 16 kB / 1.099 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009958/0.8607, allocations: 0.5423 MB / 1.099 GB, free: 10.54 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.004271/0.865, allocations: 4.596 MB / 1.104 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007079/0.8657, allocations: 438.2 kB / 1.104 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.278e-05/0.8658, allocations: 11.98 kB / 1.104 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004817/0.8663, allocations: 313.7 kB / 1.104 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=31): time 1.954e-06/0.8663, allocations: 0 / 1.104 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of matching and sorting (n=31): time 0.004845/0.8712, allocations: 1.65 MB / 1.106 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/0.8713, allocations: 110.8 kB / 1.106 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/0.8728, allocations: 1.11 MB / 1.107 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/0.8728, allocations: 41.7 kB / 1.107 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003637/0.8732, allocations: 492.1 kB / 1.108 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.475e-05/0.8733, allocations: 110.7 kB / 1.108 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/0.8733, allocations: 8 kB / 1.108 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.8734, allocations: 329.9 kB / 1.108 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000455/0.8739, allocations: 188.7 kB / 1.108 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005841/0.8745, allocations: 0.494 MB / 1.109 GB, free: 52 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000435/0.8749, allocations: 300 kB / 1.109 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.875, allocations: 0 / 1.109 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001991/0.877, allocations: 0.9794 MB / 1.11 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007721/0.8777, allocations: 2.136 MB / 1.112 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.8778, allocations: 8 kB / 1.112 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.879, allocations: 354.2 kB / 1.112 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.8793, allocations: 63.91 kB / 1.113 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.8805, allocations: 1.096 MB / 1.114 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007135/0.8813, allocations: 115.3 kB / 1.114 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.206e-05/0.8813, allocations: 20 kB / 1.114 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.502e-06/0.8813, allocations: 4 kB / 1.114 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001303/0.8827, allocations: 0.7445 MB / 1.114 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.8827, allocations: 7.938 kB / 1.114 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005161/0.8832, allocations: 227.3 kB / 1.115 GB, free: 9.793 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.8834, allocations: 63.91 kB / 1.115 GB, free: 9.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003507/0.8869, allocations: 3.099 MB / 1.118 GB, free: 6.492 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006491/0.8876, allocations: 87.69 kB / 1.118 GB, free: 6.406 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.8876, allocations: 23.98 kB / 1.118 GB, free: 6.383 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 (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.0005048/0.8882, allocations: 472.5 kB / 1.118 GB, free: 5.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.8883, allocations: 102.7 kB / 1.118 GB, free: 5.809 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.8896, allocations: 0.6954 MB / 1.119 GB, free: 5.098 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.8896, allocations: 4 kB / 1.119 GB, free: 5.094 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.8896, allocations: 0 / 1.119 GB, free: 5.094 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.8897, allocations: 7.953 kB / 1.119 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.8913, allocations: 1.099 MB / 1.12 GB, free: 3.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.289e-06/0.8913, allocations: 7.984 kB / 1.12 GB, free: 3.902 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.8914, allocations: 23.98 kB / 1.12 GB, free: 3.879 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004791/0.8919, allocations: 254.5 kB / 1.12 GB, free: 3.629 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.8919, allocations: 8 kB / 1.12 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009903/0.8929, allocations: 1.033 MB / 1.121 GB, free: 2.562 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.8929, allocations: 4 kB / 1.121 GB, free: 2.559 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.8941, allocations: 0.8441 MB / 1.122 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003376/0.8945, allocations: 227.8 kB / 1.123 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.996e-05/0.8946, allocations: 8 kB / 1.123 GB, free: 1.383 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00048/0.8951, allocations: 55.8 kB / 1.123 GB, free: 1.328 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.437e-05/0.8952, allocations: 35.89 kB / 1.123 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.8952, allocations: 8 kB / 1.123 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009158/0.8961, allocations: 0.7877 MB / 1.123 GB, free: 500 kB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8961, allocations: 0 / 1.123 GB, free: 500 kB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001108/0.8972, allocations: 451.4 kB / 1.124 GB, free: 48 kB / 0.8731 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.001904/0.8991, allocations: 1.876 MB / 1.126 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002566/0.9017, allocations: 1.195 MB / 1.127 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.9017, allocations: 7.938 kB / 1.127 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006312/0.9024, allocations: 284.2 kB / 1.127 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/0.9043, allocations: 455.7 kB / 1.128 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/0.9173, allocations: 9.912 MB / 1.137 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008622/0.9182, allocations: 1.204 MB / 1.138 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001104/0.9193, allocations: 311.6 kB / 1.139 GB, free: 372 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004222/0.9198, allocations: 307.3 kB / 1.139 GB, free: 64 kB / 0.8887 GB Notification: Performance of SimCode: time 3.146e-06/0.9198, allocations: 0 / 1.139 GB, free: 64 kB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04894/0.9687, allocations: 27.57 MB / 1.166 GB, free: 4.879 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/0.969, allocations: 261.8 kB / 1.166 GB, free: 4.523 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.208/3.177, allocations: 0 / 1.166 GB, free: 4.523 MB / 0.92 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat does not exist to compare? outputFormat=mat