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.001047/0.001047, 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.001345/0.001346, 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.506/1.506, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.521/2.521, allocations: 409.4 MB / 0.684 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003784, allocations: 12 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7979/0.7983, allocations: 146.8 MB / 0.9811 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1574/0.9558, allocations: 146.7 MB / 1.124 GB, free: 3.082 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00453/0.9604, allocations: 3.377 MB / 1.128 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004052/0.9608, allocations: 7.938 kB / 1.128 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006149/0.9615, allocations: 119.2 kB / 1.128 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.9629, allocations: 390.1 kB / 1.128 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.9643, allocations: 375.7 kB / 1.129 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002946/0.9672, allocations: 2.999 MB / 1.132 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.9683, allocations: 0.6876 MB / 1.132 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.9701, allocations: 0.8754 MB / 1.133 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008714/0.971, allocations: 0.7001 MB / 1.134 GB, free: 9.551 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.496e-05/0.9711, allocations: 40 kB / 1.134 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.9724, allocations: 0.5573 MB / 1.134 GB, free: 8.953 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002913/0.9727, allocations: 282.9 kB / 1.135 GB, free: 8.676 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003047/0.973, allocations: 225.1 kB / 1.135 GB, free: 8.449 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.9741, allocations: 1.025 MB / 1.136 GB, free: 7.422 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.9741, allocations: 0 / 1.136 GB, free: 7.422 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9741, allocations: 0 / 1.136 GB, free: 7.422 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.9741, allocations: 0 / 1.136 GB, free: 7.422 MB / 0.8887 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.001887/0.976, allocations: 1.303 MB / 1.137 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.9761, allocations: 12.03 kB / 1.137 GB, free: 6.043 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001144/0.9762, allocations: 98.52 kB / 1.137 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007115/0.9769, allocations: 182.5 kB / 1.137 GB, free: 5.758 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.9782, allocations: 0.7963 MB / 1.138 GB, free: 4.906 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/0.9782, allocations: 49 kB / 1.138 GB, free: 4.859 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.86e-05/0.9783, allocations: 56 kB / 1.138 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.9794, allocations: 0.7941 MB / 1.139 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.9795, allocations: 7.938 kB / 1.139 GB, free: 3.93 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.175e-05/0.9795, allocations: 27.95 kB / 1.139 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.9795, allocations: 15.98 kB / 1.139 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008511/0.9804, allocations: 0.5344 MB / 1.14 GB, free: 3.352 MB / 0.8887 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.003693/0.9841, allocations: 4.607 MB / 1.144 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006904/0.9848, allocations: 434.2 kB / 1.144 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000363/0.9852, allocations: 258.2 kB / 1.145 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002981/0.9855, allocations: 194.1 kB / 1.145 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00048/0.986, allocations: 293.6 kB / 1.145 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 1.853e-06/0.986, allocations: 0 / 1.145 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31): time 0.004507/0.9905, allocations: 1.668 MB / 1.147 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.9906, allocations: 81.11 kB / 1.147 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.992, allocations: 1.114 MB / 1.148 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/0.992, allocations: 37.7 kB / 1.148 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/0.9924, allocations: 492.1 kB / 1.148 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.82e-05/0.9925, allocations: 110.5 kB / 1.149 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/0.9925, allocations: 12 kB / 1.149 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.9926, allocations: 325.9 kB / 1.149 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.993, allocations: 192.7 kB / 1.149 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005357/0.9935, allocations: 0.4979 MB / 1.15 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004041/0.9939, allocations: 298.4 kB / 1.15 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.9939, allocations: 0 / 1.15 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001908/0.9958, allocations: 0.971 MB / 1.151 GB, free: 7.129 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001738/0.996, allocations: 282.4 kB / 1.151 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.9961, allocations: 7.938 kB / 1.151 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.9972, allocations: 369.6 kB / 1.151 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.9974, allocations: 59.84 kB / 1.152 GB, free: 6.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.9987, allocations: 1.108 MB / 1.153 GB, free: 5.207 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007287/0.9994, allocations: 99.47 kB / 1.153 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.093e-05/0.9995, allocations: 27.98 kB / 1.153 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.9995, allocations: 4 kB / 1.153 GB, free: 5.078 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001225/1.001, allocations: 0.7318 MB / 1.153 GB, free: 4.336 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.001, allocations: 4 kB / 1.153 GB, free: 4.332 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005036/1.001, allocations: 229.9 kB / 1.154 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/1.001, allocations: 59.91 kB / 1.154 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003343/1.005, allocations: 3.041 MB / 1.157 GB, free: 0.8594 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008548/1.006, allocations: 91.59 kB / 1.157 GB, free: 0.7695 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/1.006, allocations: 27.95 kB / 1.157 GB, free: 0.7422 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.0005687/1.006, allocations: 476.5 kB / 1.157 GB, free: 272 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/1.006, allocations: 98.78 kB / 1.157 GB, free: 172 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/1.008, allocations: 0.7144 MB / 1.158 GB, free: 15.44 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/1.008, allocations: 7.953 kB / 1.158 GB, free: 15.43 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/1.008, allocations: 0 / 1.158 GB, free: 15.43 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.008, allocations: 0 / 1.158 GB, free: 15.43 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/1.01, allocations: 1.611 MB / 1.16 GB, free: 13.74 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.01, allocations: 4 kB / 1.16 GB, free: 13.74 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/1.01, allocations: 36.12 kB / 1.16 GB, free: 13.7 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004729/1.011, allocations: 247.7 kB / 1.16 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/1.011, allocations: 11.95 kB / 1.16 GB, free: 13.45 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009543/1.012, allocations: 1.032 MB / 1.161 GB, free: 12.39 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.012, allocations: 0 / 1.161 GB, free: 12.39 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/1.013, allocations: 0.8331 MB / 1.162 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003517/1.013, allocations: 223.8 kB / 1.162 GB, free: 11.28 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/1.013, allocations: 8 kB / 1.162 GB, free: 11.27 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/1.014, allocations: 59.78 kB / 1.162 GB, free: 11.21 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.064e-05/1.014, allocations: 35.95 kB / 1.162 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/1.014, allocations: 15.95 kB / 1.162 GB, free: 11.16 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009538/1.015, allocations: 0.7915 MB / 1.163 GB, free: 10.36 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/1.015, allocations: 0 / 1.163 GB, free: 10.36 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001258/1.016, allocations: 447.4 kB / 1.163 GB, free: 9.922 MB / 0.92 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.001648/1.018, allocations: 1.373 MB / 1.165 GB, free: 8.504 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002393/1.02, allocations: 1.199 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.02, allocations: 0 / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005592/1.021, allocations: 276.2 kB / 1.166 GB, free: 7 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/1.023, allocations: 471.2 kB / 1.166 GB, free: 6.547 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/1.034, allocations: 6.6 MB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007537/1.035, allocations: 1.177 MB / 1.174 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009853/1.036, allocations: 311.6 kB / 1.174 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003587/1.037, allocations: 307.3 kB / 1.175 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of SimCode: time 1.373e-06/1.037, allocations: 0 / 1.175 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0442/1.081, allocations: 27.6 MB / 1.202 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/1.081, allocations: 281.8 kB / 1.202 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.504/3.585, allocations: 0 / 1.202 GB, free: 2.273 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