Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.404/1.404, allocations: 251.5 MB / 266.7 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009857/0.0009859, allocations: 175.7 kB / 325.8 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205 MB / 0.576 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007993/0.0007992, allocations: 86.31 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.0003131, allocations: 8.906 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.168, allocations: 105.4 MB / 0.8962 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.02009/0.1881, allocations: 32.36 MB / 0.9278 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01506/0.2032, allocations: 13.53 MB / 0.941 GB, free: 22.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/0.2053, allocations: 39.75 kB / 0.941 GB, free: 22.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.2072, allocations: 0.6375 MB / 0.9417 GB, free: 21.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00336/0.2106, allocations: 1.443 MB / 0.9431 GB, free: 19.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002626/0.2133, allocations: 1.276 MB / 0.9443 GB, free: 18.69 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004818/0.2181, allocations: 6.417 MB / 0.9506 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001998/0.2201, allocations: 1.729 MB / 0.9523 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002658/0.2228, allocations: 1.606 MB / 0.9538 GB, free: 8.879 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001921/0.2248, allocations: 1.361 MB / 0.9552 GB, free: 7.512 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000276/0.2251, allocations: 72 kB / 0.9552 GB, free: 7.441 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.2275, allocations: 1.076 MB / 0.9563 GB, free: 6.363 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003701/0.2279, allocations: 406.1 kB / 0.9567 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000992/0.2289, allocations: 0.9245 MB / 0.9576 GB, free: 5.035 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002845/0.2317, allocations: 2.85 MB / 0.9604 GB, free: 2.176 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2317, allocations: 0 / 0.9604 GB, free: 2.176 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2317, allocations: 0 / 0.9604 GB, free: 2.176 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.431e-05/0.2318, allocations: 0 / 0.9604 GB, free: 2.176 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.003128/0.2349, allocations: 2.069 MB / 0.9624 GB, free: 44 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.235, allocations: 12.03 kB / 0.9624 GB, free: 32 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001903/0.2352, allocations: 151.9 kB / 0.9625 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.2363, allocations: 306.2 kB / 0.9628 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/0.2391, allocations: 1.64 MB / 0.9644 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.074e-05/0.2392, allocations: 78 kB / 0.9645 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.2394, allocations: 104 kB / 0.9646 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.2415, allocations: 1.337 MB / 0.9659 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.2415, allocations: 11.94 kB / 0.9659 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.016e-05/0.2416, allocations: 43.98 kB / 0.966 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.2417, allocations: 27.94 kB / 0.966 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/0.2436, allocations: 1.058 MB / 0.967 GB, free: 11.15 MB / 0.6198 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.007863/0.2515, allocations: 6.977 MB / 0.9738 GB, free: 3.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.2529, allocations: 0.6759 MB / 0.9745 GB, free: 2.992 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007294/0.2537, allocations: 427.5 kB / 0.9749 GB, free: 2.574 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002627/0.2563, allocations: 1.83 MB / 0.9767 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007746/0.2571, allocations: 413 kB / 0.9771 GB, free: 196 kB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004132/0.2575, allocations: 107.3 kB / 0.9772 GB, free: 88 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=46): time 2.184e-06/0.2575, allocations: 0 / 0.9772 GB, free: 88 kB / 0.6198 GB Notification: Performance of matching and sorting (n=46): time 0.004004/0.2615, allocations: 1.55 MB / 0.9787 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.2616, allocations: 59.34 kB / 0.9788 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0021/0.2637, allocations: 1.862 MB / 0.9806 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.704e-05/0.2638, allocations: 41.7 kB / 0.9806 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006497/0.2644, allocations: 0.8538 MB / 0.9815 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.2646, allocations: 161.8 kB / 0.9816 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.271e-05/0.2647, allocations: 69.69 kB / 0.9817 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.2648, allocations: 337.9 kB / 0.982 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006879/0.2655, allocations: 353.8 kB / 0.9823 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.2665, allocations: 0.8151 MB / 0.9831 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.2682, allocations: 1.066 MB / 0.9842 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.2682, allocations: 4 kB / 0.9842 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002736/0.2709, allocations: 1.429 MB / 0.9856 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002501/0.2712, allocations: 423.6 kB / 0.986 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.2712, allocations: 12 kB / 0.986 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008251/0.272, allocations: 264.5 kB / 0.9862 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005978/0.2726, allocations: 175.7 kB / 0.9864 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007088/0.2734, allocations: 0.8442 MB / 0.9872 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.2745, allocations: 124.5 kB / 0.9874 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.972e-05/0.2746, allocations: 43.98 kB / 0.9874 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.023e-06/0.2746, allocations: 4 kB / 0.9874 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001696/0.2763, allocations: 1.047 MB / 0.9884 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.2764, allocations: 8 kB / 0.9884 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003434/0.2767, allocations: 157.5 kB / 0.9886 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.2772, allocations: 167.7 kB / 0.9887 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/0.2795, allocations: 2.354 MB / 0.991 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.2806, allocations: 122.6 kB / 0.9912 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.838e-05/0.2807, allocations: 36 kB / 0.9912 GB, free: 0.9297 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.00076/0.2814, allocations: 0.5919 MB / 0.9918 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.2817, allocations: 173.8 kB / 0.9919 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.2837, allocations: 1.074 MB / 0.993 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.2837, allocations: 12 kB / 0.993 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.2837, allocations: 0 / 0.993 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00157/0.2853, allocations: 1.027 MB / 0.994 GB, free: 13.97 MB / 0.6511 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 postOpt removeSimpleEquations (simulation): time 0.003936/0.2892, allocations: 2.335 MB / 0.9963 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.2893, allocations: 0 / 0.9963 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004397/0.2897, allocations: 99.92 kB / 0.9964 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003112/0.29, allocations: 144.9 kB / 0.9965 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.2901, allocations: 11.98 kB / 0.9965 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006665/0.2908, allocations: 0.8058 MB / 0.9973 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.2908, allocations: 8.094 kB / 0.9973 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002775/0.2936, allocations: 1.483 MB / 0.9988 GB, free: 8.938 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008281/0.2944, allocations: 307 kB / 0.9991 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.2946, allocations: 15.98 kB / 0.9991 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009791/0.2956, allocations: 99.81 kB / 0.9992 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.2958, allocations: 40.31 kB / 0.9992 GB, free: 8.465 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.512e-05/0.2958, allocations: 23.98 kB / 0.9992 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001911/0.2977, allocations: 1.289 MB / 1 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2978, allocations: 0 / 1 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002542/0.3003, allocations: 0.8463 MB / 1.001 GB, free: 6.281 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004004/0.3043, allocations: 2.248 MB / 1.004 GB, free: 4.004 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003445/0.3078, allocations: 1.579 MB / 1.005 GB, free: 2.391 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.3078, allocations: 0 / 1.005 GB, free: 2.391 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008078/0.3086, allocations: 371.1 kB / 1.005 GB, free: 2.027 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004102/0.3128, allocations: 0.8419 MB / 1.006 GB, free: 1.188 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02545/0.3382, allocations: 14.87 MB / 1.021 GB, free: 1.414 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008851/0.3392, allocations: 1.491 MB / 1.022 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002646/0.3418, allocations: 434 kB / 1.023 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/0.3432, allocations: 0.6594 MB / 1.023 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of SimCode: time 8.12e-07/0.3433, allocations: 3.938 kB / 1.023 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6762/1.019, allocations: 46.77 MB / 1.069 GB, free: 146.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/1.02, allocations: 294.2 kB / 1.069 GB, free: 146.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.304/4.323, allocations: 0 / 1.069 GB, free: 146.3 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example3.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)