Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.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.Example1v1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1",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.289/1.289, allocations: 251.5 MB / 266.7 MB, free: 11.02 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.001072/0.001072, allocations: 179 kB / 325.8 MB, free: 2.684 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.392/1.392, allocations: 205 MB / 0.576 GB, free: 20.99 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.0007023/0.0007023, allocations: 94.33 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002912, allocations: 12.16 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1634, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.04212/0.2056, allocations: 71.82 MB / 0.9663 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02374/0.2294, allocations: 20.55 MB / 0.9864 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002361/0.2318, allocations: 83.44 kB / 0.9865 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002287/0.2341, allocations: 0.8627 MB / 0.9873 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004762/0.2389, allocations: 2.166 MB / 0.9894 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003813/0.2427, allocations: 1.892 MB / 0.9913 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008224/0.2509, allocations: 10.57 MB / 1.002 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005627/0.2566, allocations: 5.543 MB / 1.007 GB, free: 2.191 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004323/0.2609, allocations: 2.808 MB / 1.01 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002497/0.2634, allocations: 2.438 MB / 1.012 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.000274/0.2637, allocations: 132 kB / 1.012 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002319/0.266, allocations: 1.232 MB / 1.013 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0005162/0.2665, allocations: 0.6337 MB / 1.014 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001395/0.268, allocations: 1.616 MB / 1.016 GB, free: 9.297 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003682/0.2716, allocations: 4.535 MB / 1.02 GB, free: 4.746 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2717, allocations: 0 / 1.02 GB, free: 4.746 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2717, allocations: 0 / 1.02 GB, free: 4.746 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.361e-05/0.2717, allocations: 0 / 1.02 GB, free: 4.746 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.005542/0.2772, allocations: 3.82 MB / 1.024 GB, free: 0.8477 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.2773, allocations: 12.03 kB / 1.024 GB, free: 0.8359 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002416/0.2775, allocations: 232.2 kB / 1.024 GB, free: 0.5977 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/0.2794, allocations: 0.5697 MB / 1.025 GB, free: 24 kB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003407/0.2828, allocations: 2.584 MB / 1.027 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.073e-05/0.2829, allocations: 139.8 kB / 1.027 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000234/0.2831, allocations: 184 kB / 1.027 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003224/0.2864, allocations: 2.424 MB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.2864, allocations: 3.938 kB / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/0.2866, allocations: 75.94 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.2866, allocations: 44 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003237/0.2898, allocations: 2.025 MB / 1.032 GB, free: 8.344 MB / 0.6823 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.01165/0.3015, allocations: 12.13 MB / 1.044 GB, free: 11.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/0.3041, allocations: 1.561 MB / 1.045 GB, free: 10.03 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.3057, allocations: 1.083 MB / 1.046 GB, free: 8.938 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005425/0.3111, allocations: 4.095 MB / 1.05 GB, free: 4.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001399/0.3125, allocations: 0.8833 MB / 1.051 GB, free: 3.676 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001131/0.3137, allocations: 450.7 kB / 1.052 GB, free: 3.234 MB / 0.698 GB Notification: Performance of pre-optimization done (n=96): time 2.675e-06/0.3137, allocations: 0 / 1.052 GB, free: 3.234 MB / 0.698 GB Notification: Performance of matching and sorting (n=96): time 0.3381/0.6518, allocations: 5.277 MB / 1.057 GB, free: 150.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.6518, allocations: 71 kB / 1.057 GB, free: 150.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003644/0.6555, allocations: 3.028 MB / 1.06 GB, free: 150.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.6556, allocations: 54.8 kB / 1.06 GB, free: 150.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001047/0.6567, allocations: 1.422 MB / 1.061 GB, free: 150.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/0.6569, allocations: 339.7 kB / 1.062 GB, free: 150.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.6571, allocations: 124.3 kB / 1.062 GB, free: 150.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.984e-05/0.6572, allocations: 304 kB / 1.062 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/0.6587, allocations: 0.7672 MB / 1.063 GB, free: 149.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001908/0.6606, allocations: 1.56 MB / 1.064 GB, free: 149 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003258/0.6638, allocations: 2.072 MB / 1.066 GB, free: 148.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.6639, allocations: 4.125 kB / 1.066 GB, free: 148.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.006809/0.6707, allocations: 3.148 MB / 1.069 GB, free: 147.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002237/0.6709, allocations: 0.5413 MB / 1.07 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.6709, allocations: 14.08 kB / 1.07 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002872/0.6738, allocations: 0.8556 MB / 1.071 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.6749, allocations: 302.4 kB / 1.071 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.6769, allocations: 2.168 MB / 1.073 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/0.6792, allocations: 254.9 kB / 1.073 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.6793, allocations: 77.31 kB / 1.073 GB, free: 145.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.6793, allocations: 4.594 kB / 1.073 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003821/0.6832, allocations: 2.314 MB / 1.076 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.6832, allocations: 19.97 kB / 1.076 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.6845, allocations: 0.5874 MB / 1.076 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008868/0.6854, allocations: 287.9 kB / 1.077 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006188/0.6916, allocations: 6.49 MB / 1.083 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002283/0.6939, allocations: 250.8 kB / 1.083 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/0.694, allocations: 69.08 kB / 1.083 GB, free: 139.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.001504/0.6955, allocations: 0.8243 MB / 1.084 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005297/0.6961, allocations: 289.7 kB / 1.084 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003865/0.6999, allocations: 2.498 MB / 1.087 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.7, allocations: 15.7 kB / 1.087 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.7, allocations: 0 / 1.087 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002915/0.7029, allocations: 2.194 MB / 1.089 GB, free: 136.5 MB / 0.698 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.005704/0.7086, allocations: 4.729 MB / 1.094 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.7086, allocations: 0 / 1.094 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000656/0.7093, allocations: 154.2 kB / 1.094 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000979/0.7103, allocations: 0.55 MB / 1.094 GB, free: 133.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.93e-05/0.7103, allocations: 23.98 kB / 1.094 GB, free: 133.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/0.7116, allocations: 2.096 MB / 1.096 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.7117, allocations: 0 / 1.096 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004352/0.716, allocations: 3.363 MB / 1.1 GB, free: 127.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007319/0.7168, allocations: 0.4975 MB / 1.1 GB, free: 127.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002703/0.717, allocations: 16 kB / 1.1 GB, free: 127 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/0.7185, allocations: 207.5 kB / 1.1 GB, free: 126.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.7187, allocations: 69.88 kB / 1.1 GB, free: 126.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-05/0.7188, allocations: 43.92 kB / 1.1 GB, free: 126.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002014/0.7208, allocations: 2.071 MB / 1.102 GB, free: 124.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7208, allocations: 0 / 1.102 GB, free: 124.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003181/0.724, allocations: 1.477 MB / 1.104 GB, free: 123.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005148/0.7291, allocations: 4.041 MB / 1.108 GB, free: 119.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004906/0.7341, allocations: 3.328 MB / 1.111 GB, free: 115.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.7341, allocations: 0 / 1.111 GB, free: 115.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.7353, allocations: 0.8304 MB / 1.112 GB, free: 115 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006604/0.742, allocations: 1.546 MB / 1.113 GB, free: 113.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04303/0.785, allocations: 28.25 MB / 1.141 GB, free: 83.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/0.7861, allocations: 2.033 MB / 1.143 GB, free: 81.22 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002362/0.7885, allocations: 0.6766 MB / 1.144 GB, free: 80.56 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/0.7896, allocations: 1.171 MB / 1.145 GB, free: 79.39 MB / 0.698 GB Notification: Performance of SimCode: time 7.71e-07/0.7896, allocations: 0 / 1.145 GB, free: 79.39 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3556/1.145, allocations: 82.31 MB / 1.225 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003068/1.146, allocations: 286.8 kB / 1.225 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.681/5.827, allocations: 0 / 1.225 GB, free: 13.34 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)