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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001047, allocations: 99.62 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.001189/0.001189, 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.509/1.509, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.727/2.727, allocations: 409.2 MB / 0.6838 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005121/0.0005122, allocations: 8 kB / 0.8375 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7843/0.7849, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1522/0.9371, allocations: 135.7 MB / 1.113 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004642/0.9418, allocations: 3.12 MB / 1.116 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003029/0.9421, allocations: 11.88 kB / 1.116 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007158/0.9429, allocations: 179.2 kB / 1.117 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.9443, allocations: 0.5062 MB / 1.117 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.9456, allocations: 447.8 kB / 1.118 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001983/0.9476, allocations: 1.497 MB / 1.119 GB, free: 8.512 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009722/0.9486, allocations: 0.7111 MB / 1.12 GB, free: 7.793 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.9497, allocations: 0.6967 MB / 1.12 GB, free: 7.094 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005559/0.9503, allocations: 0.49 MB / 1.121 GB, free: 6.602 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.899e-05/0.9504, allocations: 32 kB / 1.121 GB, free: 6.57 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008518/0.9512, allocations: 411.4 kB / 1.121 GB, free: 6.168 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.9515, allocations: 259.1 kB / 1.122 GB, free: 5.914 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.9517, allocations: 233.1 kB / 1.122 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.9528, allocations: 0.9743 MB / 1.123 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.9528, allocations: 0 / 1.123 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9528, allocations: 0 / 1.123 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.9528, allocations: 0 / 1.123 GB, free: 4.703 MB / 0.8731 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.002083/0.9549, allocations: 1.291 MB / 1.124 GB, free: 3.348 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.955, allocations: 12.03 kB / 1.124 GB, free: 3.336 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/0.9551, allocations: 98.5 kB / 1.124 GB, free: 3.23 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007221/0.9558, allocations: 178.5 kB / 1.124 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.9573, allocations: 0.8041 MB / 1.125 GB, free: 2.195 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.962e-05/0.9573, allocations: 41 kB / 1.125 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.057e-05/0.9574, allocations: 56 kB / 1.125 GB, free: 2.102 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.9586, allocations: 0.7888 MB / 1.126 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.9586, allocations: 3.938 kB / 1.126 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-05/0.9587, allocations: 27.95 kB / 1.126 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.9587, allocations: 12 kB / 1.126 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008767/0.9596, allocations: 0.5383 MB / 1.126 GB, free: 0.6562 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.004252/0.9638, allocations: 4.607 MB / 1.131 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007263/0.9646, allocations: 442.3 kB / 1.131 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.199e-05/0.9646, allocations: 19.97 kB / 1.131 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005049/0.9652, allocations: 298.3 kB / 1.132 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=31): time 2.184e-06/0.9652, allocations: 0 / 1.132 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of matching and sorting (n=31): time 0.004912/0.9701, allocations: 1.646 MB / 1.133 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.568e-05/0.9702, allocations: 118.8 kB / 1.133 GB, free: 9.078 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.9717, allocations: 1.114 MB / 1.134 GB, free: 7.945 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.897e-05/0.9717, allocations: 37.7 kB / 1.135 GB, free: 7.902 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004164/0.9722, allocations: 488.2 kB / 1.135 GB, free: 7.418 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.9723, allocations: 114.5 kB / 1.135 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.9723, allocations: 4 kB / 1.135 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.9724, allocations: 329.9 kB / 1.135 GB, free: 6.973 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/0.9728, allocations: 184.7 kB / 1.136 GB, free: 6.793 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005542/0.9734, allocations: 0.4979 MB / 1.136 GB, free: 6.156 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004521/0.9738, allocations: 293.6 kB / 1.136 GB, free: 5.863 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.9738, allocations: 8 kB / 1.136 GB, free: 5.855 MB / 0.8887 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002099/0.9759, allocations: 0.9713 MB / 1.137 GB, free: 4.867 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.000852/0.9768, allocations: 2.141 MB / 1.139 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.9768, allocations: 4 kB / 1.139 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/0.9781, allocations: 363.1 kB / 1.14 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.9783, allocations: 59.91 kB / 1.14 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.9797, allocations: 1.104 MB / 1.141 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008547/0.9806, allocations: 107.4 kB / 1.141 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.365e-05/0.9806, allocations: 24 kB / 1.141 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.9807, allocations: 4 kB / 1.141 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001317/0.982, allocations: 0.7293 MB / 1.142 GB, free: 144 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.982, allocations: 8 kB / 1.142 GB, free: 136 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005757/0.9826, allocations: 229.2 kB / 1.142 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.9828, allocations: 63.91 kB / 1.142 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003726/0.9866, allocations: 3.104 MB / 1.145 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008635/0.9874, allocations: 99.53 kB / 1.145 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/0.9875, allocations: 24 kB / 1.145 GB, free: 12.47 MB / 0.9044 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.0006133/0.9881, allocations: 472.7 kB / 1.146 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.9882, allocations: 98.78 kB / 1.146 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.9895, allocations: 0.6997 MB / 1.146 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.9895, allocations: 4 kB / 1.146 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.9895, allocations: 0 / 1.146 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.9895, allocations: 7.984 kB / 1.146 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.9912, allocations: 1.091 MB / 1.147 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.9912, allocations: 4 kB / 1.147 GB, free: 10 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.9913, allocations: 24.2 kB / 1.147 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004996/0.9918, allocations: 251.7 kB / 1.148 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.9918, allocations: 11.98 kB / 1.148 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.9929, allocations: 1.036 MB / 1.149 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.9929, allocations: 0 / 1.149 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.9942, allocations: 0.852 MB / 1.15 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004429/0.9946, allocations: 219.8 kB / 1.15 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.9947, allocations: 8.141 kB / 1.15 GB, free: 7.484 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004784/0.9952, allocations: 63.78 kB / 1.15 GB, free: 7.422 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.9953, allocations: 35.84 kB / 1.15 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.9954, allocations: 15.98 kB / 1.15 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001086/0.9965, allocations: 0.7838 MB / 1.151 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9965, allocations: 4 kB / 1.151 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00143/0.9979, allocations: 455.4 kB / 1.151 GB, free: 6.129 MB / 0.9044 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.002042/1, allocations: 1.855 MB / 1.153 GB, free: 4.203 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002601/1.003, allocations: 1.205 MB / 1.154 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.003, allocations: 3.938 kB / 1.154 GB, free: 2.957 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006127/1.003, allocations: 285 kB / 1.154 GB, free: 2.68 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/1.005, allocations: 468.8 kB / 1.155 GB, free: 2.227 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/1.02, allocations: 9.897 MB / 1.164 GB, free: 8.008 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008796/1.02, allocations: 1.2 MB / 1.166 GB, free: 6.777 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001066/1.022, allocations: 319.6 kB / 1.166 GB, free: 6.461 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003777/1.022, allocations: 307.3 kB / 1.166 GB, free: 6.16 MB / 0.92 GB Notification: Performance of SimCode: time 1.072e-06/1.022, allocations: 0 / 1.166 GB, free: 6.16 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04537/1.067, allocations: 27.56 MB / 1.193 GB, free: 11 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/1.068, allocations: 270.8 kB / 1.193 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/3.401, allocations: 0 / 1.193 GB, free: 10.64 MB / 0.9512 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) Environment - environmentSimulation: 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