Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001086/0.001086, 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.001664/0.001664, 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.315/1.315, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.013/1.013, allocations: 143.4 MB / 434.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003568, allocations: 8 kB / 0.5161 GB, free: 11.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1696, allocations: 83.41 MB / 0.5975 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.4056/0.5752, allocations: 146.7 MB / 0.7409 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004653/0.5799, allocations: 3.377 MB / 0.7441 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000518/0.5805, allocations: 10.19 kB / 0.7442 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005366/0.581, allocations: 114.3 kB / 0.7443 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001181/0.5822, allocations: 392.1 kB / 0.7446 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.5833, allocations: 378.1 kB / 0.745 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003176/0.5865, allocations: 2.995 MB / 0.7479 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.5876, allocations: 0.6926 MB / 0.7486 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.5892, allocations: 0.8637 MB / 0.7494 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.5904, allocations: 0.7118 MB / 0.7501 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.5905, allocations: 32 kB / 0.7502 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.5919, allocations: 0.5613 MB / 0.7507 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003189/0.5922, allocations: 282.9 kB / 0.751 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002836/0.5925, allocations: 225.1 kB / 0.7512 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.5935, allocations: 1.064 MB / 0.7522 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5936, allocations: 0 / 0.7522 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5936, allocations: 0 / 0.7522 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.5936, allocations: 0 / 0.7522 GB, free: 13.79 MB / 0.5762 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.001791/0.5954, allocations: 1.307 MB / 0.7535 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.5954, allocations: 12.03 kB / 0.7535 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.724e-05/0.5955, allocations: 98.52 kB / 0.7536 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006502/0.5962, allocations: 183.5 kB / 0.7538 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.5974, allocations: 0.8007 MB / 0.7546 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/0.5975, allocations: 41 kB / 0.7546 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.8e-05/0.5976, allocations: 67.98 kB / 0.7547 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.5987, allocations: 0.7888 MB / 0.7555 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.5987, allocations: 7.938 kB / 0.7555 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.81e-05/0.5987, allocations: 23.98 kB / 0.7555 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.5988, allocations: 17.31 kB / 0.7555 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008527/0.5996, allocations: 0.5383 MB / 0.756 GB, free: 9.711 MB / 0.5762 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.003707/0.6033, allocations: 4.599 MB / 0.7605 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006575/0.604, allocations: 439.1 kB / 0.7609 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003553/0.6044, allocations: 248.7 kB / 0.7612 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002701/0.6046, allocations: 186.2 kB / 0.7614 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004776/0.6051, allocations: 316.2 kB / 0.7617 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/0.6051, allocations: 0 / 0.7617 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.003539/0.6087, allocations: 1.338 MB / 0.763 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.6088, allocations: 89.03 kB / 0.763 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.6101, allocations: 1.118 MB / 0.7641 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.6102, allocations: 33.7 kB / 0.7642 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/0.6106, allocations: 0.4884 MB / 0.7646 GB, free: 380 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.054e-05/0.6107, allocations: 102.5 kB / 0.7647 GB, free: 276 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.6107, allocations: 12 kB / 0.7648 GB, free: 264 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.6108, allocations: 326 kB / 0.7651 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.6112, allocations: 188.7 kB / 0.7652 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005617/0.6117, allocations: 0.494 MB / 0.7657 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000442/0.6122, allocations: 293.2 kB / 0.766 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.6122, allocations: 4 kB / 0.766 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001984/0.6142, allocations: 0.9895 MB / 0.767 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001762/0.6144, allocations: 275.1 kB / 0.7672 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.6144, allocations: 4 kB / 0.7672 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/0.6156, allocations: 337 kB / 0.7676 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.6158, allocations: 71.84 kB / 0.7676 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009409/0.6168, allocations: 1.01 MB / 0.7686 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000641/0.6175, allocations: 107.4 kB / 0.7687 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/0.6175, allocations: 20 kB / 0.7687 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.475e-06/0.6175, allocations: 4 kB / 0.7687 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001311/0.6188, allocations: 0.739 MB / 0.7695 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.6189, allocations: 4 kB / 0.7695 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004944/0.6194, allocations: 215.3 kB / 0.7697 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.6196, allocations: 64.02 kB / 0.7697 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003481/0.6231, allocations: 3.115 MB / 0.7728 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006039/0.6237, allocations: 99.52 kB / 0.7729 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.6237, allocations: 30.06 kB / 0.7729 GB, free: 7.48 MB / 0.5919 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.00049/0.6242, allocations: 465.8 kB / 0.7733 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.6244, allocations: 102.8 kB / 0.7734 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.6256, allocations: 0.7178 MB / 0.7741 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.6256, allocations: 8 kB / 0.7742 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.6256, allocations: 0 / 0.7742 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.6256, allocations: 3.984 kB / 0.7742 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/0.628, allocations: 1.622 MB / 0.7757 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.628, allocations: 3.938 kB / 0.7757 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.6281, allocations: 23.98 kB / 0.7758 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004751/0.6286, allocations: 232.7 kB / 0.776 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.6287, allocations: 12 kB / 0.776 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009534/0.6296, allocations: 0.9758 MB / 0.777 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.6296, allocations: 3.938 kB / 0.777 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.6308, allocations: 0.8438 MB / 0.7778 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003157/0.6312, allocations: 231.8 kB / 0.778 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.6313, allocations: 8 kB / 0.778 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000455/0.6317, allocations: 60.72 kB / 0.7781 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.552e-05/0.6318, allocations: 27.91 kB / 0.7781 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.6319, allocations: 11.98 kB / 0.7781 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009607/0.6328, allocations: 0.7877 MB / 0.7789 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6328, allocations: 0 / 0.7789 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00121/0.634, allocations: 451.5 kB / 0.7793 GB, free: 0.7188 MB / 0.5919 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.001689/0.6357, allocations: 1.381 MB / 0.7807 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00192/0.6377, allocations: 1.053 MB / 0.7817 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6377, allocations: 0 / 0.7817 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004888/0.6382, allocations: 248.6 kB / 0.7819 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/0.64, allocations: 450.2 kB / 0.7824 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/0.6523, allocations: 6.567 MB / 0.7888 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007679/0.6531, allocations: 1.189 MB / 0.7899 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009277/0.654, allocations: 323.6 kB / 0.7902 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00038/0.6544, allocations: 307.3 kB / 0.7905 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.6544, allocations: 0 / 0.7905 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05016/0.7046, allocations: 28.09 MB / 0.818 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002618/0.7049, allocations: 280 kB / 0.8182 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.315/3.02, allocations: 0 / 0.8182 GB, free: 8.883 MB / 0.6387 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) Environment - environmentSimulation: