Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.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.Example2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example2",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.451/1.451, allocations: 252 MB / 267.3 MB, free: 10.84 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.001044/0.001044, allocations: 167 kB / 327 MB, free: 2.086 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.503/1.503, allocations: 205.4 MB / 0.578 GB, free: 20.15 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.0007579/0.0007579, allocations: 84.91 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002787/0.0002787, allocations: 9.812 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1611, allocations: 106.3 MB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02001/0.1811, allocations: 28.82 MB / 0.9291 GB, free: 34.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01313/0.1943, allocations: 12.79 MB / 0.9415 GB, free: 21.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.1954, allocations: 35.75 kB / 0.9416 GB, free: 21.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.1968, allocations: 0.5948 MB / 0.9422 GB, free: 20.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002452/0.1993, allocations: 1.337 MB / 0.9435 GB, free: 19.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.2018, allocations: 1.251 MB / 0.9447 GB, free: 18.24 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003518/0.2053, allocations: 4.998 MB / 0.9496 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.2065, allocations: 1.122 MB / 0.9507 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.208, allocations: 1.245 MB / 0.9519 GB, free: 10.83 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009062/0.2089, allocations: 1.05 MB / 0.9529 GB, free: 9.773 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.2091, allocations: 52 kB / 0.953 GB, free: 9.723 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.2108, allocations: 1.057 MB / 0.954 GB, free: 8.664 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003/0.2111, allocations: 334.6 kB / 0.9543 GB, free: 8.336 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000628/0.2118, allocations: 0.7321 MB / 0.955 GB, free: 7.594 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002146/0.2139, allocations: 2.36 MB / 0.9573 GB, free: 5.227 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2139, allocations: 0 / 0.9573 GB, free: 5.227 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.214, allocations: 0 / 0.9573 GB, free: 5.227 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.619e-05/0.214, allocations: 0 / 0.9573 GB, free: 5.227 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002673/0.2167, allocations: 1.701 MB / 0.959 GB, free: 3.465 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2167, allocations: 12.03 kB / 0.959 GB, free: 3.453 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.2168, allocations: 122.8 kB / 0.9591 GB, free: 3.324 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.218, allocations: 254.8 kB / 0.9594 GB, free: 3.074 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/0.2199, allocations: 1.319 MB / 0.9606 GB, free: 1.699 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.298e-05/0.2199, allocations: 66 kB / 0.9607 GB, free: 1.637 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.22, allocations: 87.91 kB / 0.9608 GB, free: 1.551 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.2215, allocations: 1.031 MB / 0.9618 GB, free: 476 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.2215, allocations: 4 kB / 0.9618 GB, free: 472 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.219e-05/0.2216, allocations: 32 kB / 0.9618 GB, free: 440 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.2216, allocations: 19.98 kB / 0.9619 GB, free: 420 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.2232, allocations: 0.7962 MB / 0.9626 GB, free: 15.61 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.005497/0.2287, allocations: 5.132 MB / 0.9676 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.2301, allocations: 0.6538 MB / 0.9683 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007136/0.2308, allocations: 361.3 kB / 0.9686 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002176/0.233, allocations: 1.681 MB / 0.9703 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000789/0.2338, allocations: 387 kB / 0.9706 GB, free: 6.879 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003317/0.2342, allocations: 103.5 kB / 0.9707 GB, free: 6.777 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 2.234e-06/0.2342, allocations: 0 / 0.9707 GB, free: 6.777 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.003792/0.238, allocations: 1.383 MB / 0.9721 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.238, allocations: 55.41 kB / 0.9721 GB, free: 5.297 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.2397, allocations: 1.325 MB / 0.9734 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.695e-05/0.2397, allocations: 45.69 kB / 0.9735 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005118/0.2403, allocations: 0.6294 MB / 0.9741 GB, free: 3.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.2404, allocations: 161.8 kB / 0.9742 GB, free: 3.109 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.2404, allocations: 12 kB / 0.9743 GB, free: 3.098 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2406, allocations: 337.9 kB / 0.9746 GB, free: 2.762 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006565/0.2412, allocations: 297.8 kB / 0.9749 GB, free: 2.473 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009409/0.2422, allocations: 0.6598 MB / 0.9755 GB, free: 1.652 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.2437, allocations: 0.8926 MB / 0.9764 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.2437, allocations: 4 kB / 0.9764 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002668/0.2464, allocations: 1.23 MB / 0.9776 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002696/0.2467, allocations: 359.4 kB / 0.9779 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.2467, allocations: 8 kB / 0.9779 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008808/0.2476, allocations: 240.6 kB / 0.9782 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005811/0.2482, allocations: 147.8 kB / 0.9783 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009698/0.2492, allocations: 0.8759 MB / 0.9792 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.2503, allocations: 92.58 kB / 0.9792 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.542e-05/0.2504, allocations: 36.03 kB / 0.9793 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.325e-06/0.2504, allocations: 8 kB / 0.9793 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001612/0.252, allocations: 0.879 MB / 0.9801 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.252, allocations: 12.11 kB / 0.9802 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000387/0.2524, allocations: 137.2 kB / 0.9803 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/0.253, allocations: 143.8 kB / 0.9804 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.2553, allocations: 2.341 MB / 0.9827 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008816/0.2562, allocations: 84.5 kB / 0.9828 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.837e-05/0.2562, allocations: 39.98 kB / 0.9828 GB, free: 9.719 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0006646/0.2569, allocations: 473.4 kB / 0.9833 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.2571, allocations: 126.4 kB / 0.9834 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/0.2593, allocations: 0.9507 MB / 0.9843 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.2594, allocations: 12.11 kB / 0.9843 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2594, allocations: 3.938 kB / 0.9843 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00181/0.2612, allocations: 0.9545 MB / 0.9853 GB, free: 7.113 MB / 0.6355 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.003839/0.265, allocations: 1.994 MB / 0.9872 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.2651, allocations: 0 / 0.9872 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000482/0.2656, allocations: 83.88 kB / 0.9873 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003306/0.2659, allocations: 156.7 kB / 0.9875 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.427e-05/0.266, allocations: 15.98 kB / 0.9875 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006622/0.2666, allocations: 0.8136 MB / 0.9883 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2666, allocations: 3.938 kB / 0.9883 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/0.2691, allocations: 1.311 MB / 0.9896 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005691/0.2697, allocations: 291.2 kB / 0.9898 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/0.2699, allocations: 8 kB / 0.9898 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008387/0.2708, allocations: 75.98 kB / 0.9899 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.666e-05/0.2709, allocations: 32.39 kB / 0.9899 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.365e-05/0.271, allocations: 27.97 kB / 0.99 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001406/0.2724, allocations: 0.9167 MB / 0.9909 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2724, allocations: 0 / 0.9909 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002012/0.2744, allocations: 0.6823 MB / 0.9915 GB, free: 0.5547 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.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 (39): * Single equations (assignments): 33 * 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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003459/0.2779, allocations: 2.057 MB / 0.9935 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003124/0.281, allocations: 1.464 MB / 0.995 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.2811, allocations: 0 / 0.995 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008661/0.2819, allocations: 359.5 kB / 0.9953 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003206/0.2852, allocations: 0.5806 MB / 0.9959 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02084/0.306, allocations: 11.22 MB / 1.007 GB, free: 268 kB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/0.3072, allocations: 1.263 MB / 1.008 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001418/0.3087, allocations: 302.6 kB / 1.008 GB, free: 14.67 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008605/0.3096, allocations: 0.4914 MB / 1.009 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of SimCode: time 1.543e-06/0.3096, allocations: 0 / 1.009 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06151/0.3711, allocations: 35.97 MB / 1.044 GB, free: 10.61 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/0.3714, allocations: 280.2 kB / 1.044 GB, free: 10.22 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.034/3.405, allocations: 0 / 1.044 GB, free: 10.22 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example2.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)