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.001068/0.001068, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001347/0.001347, allocations: 168.7 kB / 15.95 MB, free: 204 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.342/1.342, allocations: 223.3 MB / 240 MB, free: 5.402 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.289/2.289, allocations: 390.4 MB / 0.6655 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003071, allocations: 11.94 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6381/0.6385, allocations: 142.3 MB / 0.9539 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1485/0.787, allocations: 146.7 MB / 1.097 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00445/0.7915, allocations: 3.361 MB / 1.1 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003502/0.7918, allocations: 7.938 kB / 1.1 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004706/0.7923, allocations: 107.2 kB / 1.101 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.7934, allocations: 394.1 kB / 1.101 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.7945, allocations: 377.3 kB / 1.101 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002932/0.7974, allocations: 3 MB / 1.104 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.7985, allocations: 0.6954 MB / 1.105 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.8001, allocations: 0.8598 MB / 1.106 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.8012, allocations: 0.7118 MB / 1.106 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.8013, allocations: 32 kB / 1.106 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.8025, allocations: 0.5535 MB / 1.107 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000287/0.8028, allocations: 286.9 kB / 1.107 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000267/0.8031, allocations: 229.1 kB / 1.107 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.8041, allocations: 1.017 MB / 1.108 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8041, allocations: 3.938 kB / 1.108 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8041, allocations: 0 / 1.108 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.8041, allocations: 4 kB / 1.108 GB, free: 1.355 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.001796/0.8059, allocations: 1.305 MB / 1.11 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.806, allocations: 8.031 kB / 1.11 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.82e-05/0.8061, allocations: 98.41 kB / 1.11 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000675/0.8068, allocations: 198.4 kB / 1.11 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.808, allocations: 0.7924 MB / 1.111 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.8081, allocations: 41 kB / 1.111 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.239e-05/0.8082, allocations: 60 kB / 1.111 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.8093, allocations: 0.7965 MB / 1.112 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.8093, allocations: 11.88 kB / 1.112 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.942e-05/0.8094, allocations: 20 kB / 1.112 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.8094, allocations: 20 kB / 1.112 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008642/0.8103, allocations: 0.5344 MB / 1.112 GB, free: 13.27 MB / 0.8731 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.003721/0.814, allocations: 4.603 MB / 1.117 GB, free: 8.289 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006798/0.8147, allocations: 430.2 kB / 1.117 GB, free: 7.859 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003741/0.8151, allocations: 258.7 kB / 1.117 GB, free: 7.605 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002675/0.8154, allocations: 202.2 kB / 1.118 GB, free: 7.371 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000488/0.8159, allocations: 301.1 kB / 1.118 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 1.793e-06/0.8159, allocations: 4 kB / 1.118 GB, free: 7.055 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31): time 0.004696/0.8206, allocations: 1.663 MB / 1.12 GB, free: 5.363 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.8206, allocations: 85.11 kB / 1.12 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.822, allocations: 1.11 MB / 1.121 GB, free: 4.133 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/0.822, allocations: 37.7 kB / 1.121 GB, free: 4.09 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000378/0.8224, allocations: 500 kB / 1.121 GB, free: 3.594 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.875e-05/0.8225, allocations: 110.5 kB / 1.121 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/0.8225, allocations: 12.22 kB / 1.121 GB, free: 3.473 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.782e-05/0.8226, allocations: 325.9 kB / 1.122 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.823, allocations: 196.7 kB / 1.122 GB, free: 2.957 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005251/0.8235, allocations: 0.4901 MB / 1.122 GB, free: 2.336 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004443/0.8239, allocations: 294.3 kB / 1.123 GB, free: 2.043 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.824, allocations: 11.95 kB / 1.123 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001908/0.8259, allocations: 0.9751 MB / 1.124 GB, free: 1.039 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.000153/0.826, allocations: 274.5 kB / 1.124 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.8261, allocations: 8 kB / 1.124 GB, free: 0.6797 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/0.8272, allocations: 361.7 kB / 1.124 GB, free: 332 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.8274, allocations: 71.83 kB / 1.124 GB, free: 260 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.8287, allocations: 1.096 MB / 1.125 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006517/0.8293, allocations: 103.4 kB / 1.125 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.824e-05/0.8294, allocations: 23.98 kB / 1.125 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.8294, allocations: 9.516 kB / 1.125 GB, free: 15 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001247/0.8307, allocations: 0.7279 MB / 1.126 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.8307, allocations: 4 kB / 1.126 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004929/0.8312, allocations: 225.3 kB / 1.126 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.8314, allocations: 59.91 kB / 1.126 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003329/0.8347, allocations: 3.034 MB / 1.129 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000622/0.8354, allocations: 95.67 kB / 1.129 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.8354, allocations: 20 kB / 1.129 GB, free: 10.69 MB / 0.8887 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.0004931/0.8359, allocations: 472.6 kB / 1.13 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.836, allocations: 102.7 kB / 1.13 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/0.8373, allocations: 0.7104 MB / 1.131 GB, free: 9.391 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.8373, allocations: 4 kB / 1.131 GB, free: 9.387 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.8373, allocations: 0 / 1.131 GB, free: 9.387 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.8373, allocations: 4 kB / 1.131 GB, free: 9.383 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/0.8395, allocations: 1.623 MB / 1.132 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.8395, allocations: 4 kB / 1.132 GB, free: 7.676 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.8396, allocations: 32.14 kB / 1.132 GB, free: 7.645 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004602/0.8401, allocations: 238.7 kB / 1.133 GB, free: 7.41 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.8401, allocations: 11.98 kB / 1.133 GB, free: 7.398 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009245/0.8411, allocations: 1.036 MB / 1.134 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.8411, allocations: 4 kB / 1.134 GB, free: 6.332 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.8422, allocations: 0.8349 MB / 1.134 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002732/0.8425, allocations: 227.8 kB / 1.135 GB, free: 5.215 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.8426, allocations: 8 kB / 1.135 GB, free: 5.207 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/0.8431, allocations: 59.78 kB / 1.135 GB, free: 5.148 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.231e-05/0.8432, allocations: 31.95 kB / 1.135 GB, free: 5.117 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.8432, allocations: 15.98 kB / 1.135 GB, free: 5.102 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009127/0.8441, allocations: 0.7838 MB / 1.136 GB, free: 4.309 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8441, allocations: 0 / 1.136 GB, free: 4.309 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001154/0.8453, allocations: 455.4 kB / 1.136 GB, free: 3.863 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 (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.001502/0.8468, allocations: 1.382 MB / 1.137 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002266/0.8491, allocations: 1.185 MB / 1.138 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.8491, allocations: 0 / 1.138 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005788/0.8497, allocations: 284.2 kB / 1.139 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.8515, allocations: 465 kB / 1.139 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.8625, allocations: 6.609 MB / 1.146 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006806/0.8632, allocations: 1.185 MB / 1.147 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009141/0.8642, allocations: 311.6 kB / 1.147 GB, free: 8.062 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003567/0.8645, allocations: 307.3 kB / 1.147 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of SimCode: time 7.11e-07/0.8645, allocations: 0 / 1.147 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04486/0.9094, allocations: 27.59 MB / 1.174 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.9096, allocations: 264 kB / 1.175 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/3.177, allocations: 0 / 1.175 GB, free: 12.2 MB / 0.9356 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