Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.0009169/0.0009169, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001014/0.001015, allocations: 172.7 kB / 15.95 MB, free: 208 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.387/1.387, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.669/2.669, allocations: 409.4 MB / 0.684 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003514, allocations: 8 kB / 0.8378 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.707/0.7074, allocations: 146.8 MB / 0.9811 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1655/0.873, allocations: 146.7 MB / 1.124 GB, free: 3.039 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004638/0.8776, allocations: 3.368 MB / 1.128 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004065/0.8781, allocations: 7.938 kB / 1.128 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005338/0.8786, allocations: 119.2 kB / 1.128 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.8799, allocations: 382.1 kB / 1.128 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.8811, allocations: 384.8 kB / 1.129 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003499/0.8846, allocations: 2.99 MB / 1.132 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.886, allocations: 0.6993 MB / 1.132 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001868/0.8879, allocations: 0.8637 MB / 1.133 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.8893, allocations: 0.7079 MB / 1.134 GB, free: 9.516 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002397/0.8895, allocations: 36 kB / 1.134 GB, free: 9.48 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.891, allocations: 0.5574 MB / 1.134 GB, free: 8.922 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004509/0.8915, allocations: 278.9 kB / 1.135 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005312/0.8921, allocations: 233.1 kB / 1.135 GB, free: 8.414 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.8935, allocations: 1.017 MB / 1.136 GB, free: 7.395 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.8935, allocations: 0 / 1.136 GB, free: 7.395 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8935, allocations: 4 kB / 1.136 GB, free: 7.391 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.86e-05/0.8936, allocations: 0 / 1.136 GB, free: 7.391 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.002489/0.8961, allocations: 1.311 MB / 1.137 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.8961, allocations: 8.031 kB / 1.137 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001857/0.8963, allocations: 94.52 kB / 1.137 GB, free: 5.906 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008715/0.8972, allocations: 182.5 kB / 1.137 GB, free: 5.727 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.8988, allocations: 0.8041 MB / 1.138 GB, free: 4.867 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.366e-05/0.8989, allocations: 45 kB / 1.138 GB, free: 4.824 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.028e-05/0.899, allocations: 56 kB / 1.138 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.9002, allocations: 0.7927 MB / 1.139 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.9002, allocations: 3.938 kB / 1.139 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.497e-05/0.9003, allocations: 31.89 kB / 1.139 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.9003, allocations: 12 kB / 1.139 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008907/0.9012, allocations: 0.5422 MB / 1.14 GB, free: 3.312 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.004438/0.9057, allocations: 4.603 MB / 1.144 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007365/0.9064, allocations: 426.3 kB / 1.144 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003979/0.9068, allocations: 250.2 kB / 1.145 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003206/0.9072, allocations: 202.2 kB / 1.145 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005471/0.9077, allocations: 297.6 kB / 1.145 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 2.615e-06/0.9078, allocations: 0 / 1.145 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31): time 0.003833/0.9116, allocations: 1.337 MB / 1.146 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.9117, allocations: 85.05 kB / 1.147 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.9133, allocations: 1.11 MB / 1.148 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/0.9133, allocations: 37.7 kB / 1.148 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004401/0.9138, allocations: 0.4883 MB / 1.148 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.9139, allocations: 110.5 kB / 1.148 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.323e-05/0.9139, allocations: 4 kB / 1.148 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.914, allocations: 337.9 kB / 1.149 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.9144, allocations: 184.7 kB / 1.149 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005981/0.915, allocations: 0.502 MB / 1.149 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004822/0.9155, allocations: 297.6 kB / 1.15 GB, free: 8.41 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.9155, allocations: 3.938 kB / 1.15 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002219/0.9177, allocations: 0.9796 MB / 1.151 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002172/0.918, allocations: 278.4 kB / 1.151 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.918, allocations: 8 kB / 1.151 GB, free: 7.047 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/0.9193, allocations: 336.5 kB / 1.151 GB, free: 6.715 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.9196, allocations: 63.84 kB / 1.151 GB, free: 6.652 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.9206, allocations: 1.014 MB / 1.152 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008348/0.9215, allocations: 107.5 kB / 1.152 GB, free: 5.508 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.075e-05/0.9216, allocations: 24 kB / 1.152 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.9216, allocations: 4 kB / 1.152 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001399/0.923, allocations: 0.7317 MB / 1.153 GB, free: 4.738 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.923, allocations: 8 kB / 1.153 GB, free: 4.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005344/0.9236, allocations: 218.1 kB / 1.153 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.9238, allocations: 63.84 kB / 1.153 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003733/0.9275, allocations: 3.116 MB / 1.156 GB, free: 1.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007475/0.9283, allocations: 103.6 kB / 1.156 GB, free: 1.078 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.424e-05/0.9284, allocations: 20 kB / 1.156 GB, free: 1.059 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005694/0.9289, allocations: 476.5 kB / 1.157 GB, free: 0.582 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.9291, allocations: 98.78 kB / 1.157 GB, free: 496 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.9304, allocations: 0.718 MB / 1.158 GB, free: 15.75 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.9304, allocations: 4 kB / 1.158 GB, free: 15.75 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.9304, allocations: 0 / 1.158 GB, free: 15.75 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.9305, allocations: 192 / 1.158 GB, free: 15.75 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/0.9329, allocations: 1.623 MB / 1.159 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.933, allocations: 3.984 kB / 1.159 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.9331, allocations: 23.98 kB / 1.159 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/0.9335, allocations: 224.8 kB / 1.16 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.9336, allocations: 11.98 kB / 1.16 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000905/0.9345, allocations: 0.971 MB / 1.16 GB, free: 12.79 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/0.9345, allocations: 11.95 kB / 1.16 GB, free: 12.78 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.9357, allocations: 0.8347 MB / 1.161 GB, free: 11.9 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003317/0.9361, allocations: 223.8 kB / 1.162 GB, free: 11.66 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.9362, allocations: 8 kB / 1.162 GB, free: 11.66 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000474/0.9367, allocations: 59.78 kB / 1.162 GB, free: 11.6 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/0.9368, allocations: 35.86 kB / 1.162 GB, free: 11.56 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.9368, allocations: 11.98 kB / 1.162 GB, free: 11.55 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000998/0.9378, allocations: 0.7877 MB / 1.162 GB, free: 10.75 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9378, allocations: 0 / 1.162 GB, free: 10.75 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001239/0.9391, allocations: 459.4 kB / 1.163 GB, free: 10.3 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 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001631/0.9407, allocations: 1.366 MB / 1.164 GB, free: 8.891 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00184/0.9425, allocations: 1.05 MB / 1.165 GB, free: 7.809 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.9426, allocations: 0 / 1.165 GB, free: 7.809 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004838/0.943, allocations: 239 kB / 1.165 GB, free: 7.574 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.945, allocations: 465.7 kB / 1.166 GB, free: 7.129 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/0.9583, allocations: 6.582 MB / 1.172 GB, free: 248 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009005/0.9593, allocations: 1.185 MB / 1.173 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001075/0.9603, allocations: 323.6 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004162/0.9608, allocations: 303.3 kB / 1.174 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of SimCode: time 1.082e-06/0.9608, allocations: 0 / 1.174 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04984/1.011, allocations: 28.02 MB / 1.201 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002532/1.011, allocations: 276.3 kB / 1.202 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.422/3.433, allocations: 2.25 kB / 1.202 GB, free: 2.5 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat does not exist to compare? outputFormat=mat