Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6794/0.6794, allocations: 127.3 MB / 139.8 MB, free: 15.46 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 176.8 kB / 169.7 MB, free: 1.742 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.1 MB / 404.5 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007921/0.000792, allocations: 95.38 kB / 481.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.307e-05/3.31e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1519, allocations: 76.77 MB / 0.6282 GB, free: 9.934 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.239/1.391, allocations: 390.3 MB / 1.009 GB, free: 124.4 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/1.392, allocations: 99.38 kB / 1.01 GB, free: 124.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.543/9.935, allocations: 2.29 GB / 3.299 GB, free: 69.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.435e-06/9.935, allocations: 1 kB / 3.299 GB, free: 69.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.001627/9.937, allocations: 256.8 kB / 3.299 GB, free: 69.16 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1415 * Number of variables: 1415 Notification: Performance of Generate backend data structure: time 0.02826/9.965, allocations: 7.297 MB / 3.306 GB, free: 66.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/9.965, allocations: 11.78 kB / 3.306 GB, free: 66.43 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003586/9.968, allocations: 0.7541 MB / 3.307 GB, free: 66.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008753/9.977, allocations: 1.272 MB / 3.308 GB, free: 65.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0356/10.01, allocations: 14.45 MB / 3.323 GB, free: 64.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006063/10.01, allocations: 437.3 kB / 3.323 GB, free: 64.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003025/10.02, allocations: 0.5792 MB / 3.324 GB, free: 64.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03434/10.05, allocations: 13.9 MB / 3.337 GB, free: 63.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005009/10.05, allocations: 28.05 kB / 3.337 GB, free: 63.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0031/10.05, allocations: 240.7 kB / 3.337 GB, free: 63.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001309/10.05, allocations: 137.9 kB / 3.338 GB, free: 63.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03376/10.09, allocations: 18.49 MB / 3.356 GB, free: 63.56 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.09983/10.19, allocations: 55.91 MB / 3.41 GB, free: 44.19 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01554/10.2, allocations: 8.949 MB / 3.419 GB, free: 44.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01247/10.22, allocations: 9.135 MB / 3.428 GB, free: 41.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04766/10.26, allocations: 24.44 MB / 3.452 GB, free: 28.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01525/10.28, allocations: 7.826 MB / 3.459 GB, free: 26.02 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04999/10.33, allocations: 21.15 MB / 3.48 GB, free: 12.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=279): time 5.086e-05/10.33, allocations: 4 kB / 3.48 GB, free: 12.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=279): time 0.5357/10.87, allocations: 16.1 MB / 3.496 GB, free: 75.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.541e-05/10.87, allocations: 140.3 kB / 3.496 GB, free: 75.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01392/10.88, allocations: 7.218 MB / 3.503 GB, free: 74.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.002367/10.88, allocations: 97.98 kB / 3.503 GB, free: 74.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.004475/10.89, allocations: 4.068 MB / 3.507 GB, free: 74.47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00366/10.89, allocations: 1.016 MB / 3.508 GB, free: 73.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001062/10.89, allocations: 85.41 kB / 3.508 GB, free: 73.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0004588/10.89, allocations: 492.1 kB / 3.509 GB, free: 73.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01233/10.9, allocations: 6.091 MB / 3.514 GB, free: 73.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01329/10.92, allocations: 8.006 MB / 3.522 GB, free: 71.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/10.93, allocations: 6.979 MB / 3.529 GB, free: 71.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-05/10.93, allocations: 18.31 kB / 3.529 GB, free: 71.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.04077/10.97, allocations: 17.55 MB / 3.546 GB, free: 70.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.006045/10.98, allocations: 27.81 MB / 3.573 GB, free: 41.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001669/10.98, allocations: 57.31 kB / 3.573 GB, free: 41.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06656/11.04, allocations: 11.15 MB / 3.584 GB, free: 41.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008473/11.05, allocations: 1.572 MB / 3.586 GB, free: 41.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01365/11.06, allocations: 6.896 MB / 3.593 GB, free: 38.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01377/11.08, allocations: 0.5663 MB / 3.593 GB, free: 38.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003522/11.08, allocations: 0.5536 MB / 3.594 GB, free: 38.58 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/11.08, allocations: 10.73 kB / 3.594 GB, free: 38.58 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02886/11.11, allocations: 15.74 MB / 3.609 GB, free: 38.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002203/11.11, allocations: 57.41 kB / 3.609 GB, free: 38.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06197/11.17, allocations: 10.62 MB / 3.62 GB, free: 37.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008247/11.18, allocations: 1.58 MB / 3.621 GB, free: 37.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/11.19, allocations: 9.963 MB / 3.631 GB, free: 32.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0133/11.21, allocations: 0.4955 MB / 3.631 GB, free: 32.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003047/11.21, allocations: 0.5429 MB / 3.632 GB, free: 32.64 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 236 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (505): * Single equations (assignments): 499 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.004058/11.21, allocations: 402.1 kB / 3.632 GB, free: 32.53 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003778/11.22, allocations: 0.7446 MB / 3.633 GB, free: 32.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03479/11.25, allocations: 14.4 MB / 3.647 GB, free: 31.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.768e-05/11.25, allocations: 30.72 kB / 3.647 GB, free: 31.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/11.25, allocations: 3.812 kB / 3.647 GB, free: 31.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02218/11.27, allocations: 10.87 MB / 3.658 GB, free: 31.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04777/11.32, allocations: 24.27 MB / 3.681 GB, free: 25.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.476e-05/11.32, allocations: 0 / 3.681 GB, free: 25.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004937/11.33, allocations: 0.5973 MB / 3.682 GB, free: 25.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06354/11.39, allocations: 10.18 MB / 3.692 GB, free: 24.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001201/11.39, allocations: 112.4 kB / 3.692 GB, free: 24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03499/11.43, allocations: 12.92 MB / 3.705 GB, free: 33.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/11.43, allocations: 0 / 3.705 GB, free: 33.16 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03406/11.46, allocations: 18.85 MB / 3.723 GB, free: 19.94 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007523/11.47, allocations: 1.959 MB / 3.725 GB, free: 18.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003516/11.47, allocations: 70.66 kB / 3.725 GB, free: 18.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009242/11.48, allocations: 409.3 kB / 3.725 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001523/11.48, allocations: 228.5 kB / 3.726 GB, free: 17.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008152/11.48, allocations: 158.4 kB / 3.726 GB, free: 17.71 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.01078/11.49, allocations: 5.621 MB / 3.731 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.51e-07/11.49, allocations: 0 / 3.731 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.02655/11.52, allocations: 4.933 MB / 3.736 GB, free: 8.246 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (281): * Single equations (assignments): 272 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.04867/11.57, allocations: 20.94 MB / 3.756 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.5065/12.08, allocations: 24.63 MB / 3.781 GB, free: 99.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/12.08, allocations: 4.812 kB / 3.781 GB, free: 99.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.01596/12.09, allocations: 6.87 MB / 3.787 GB, free: 98.97 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02837/12.12, allocations: 4.606 MB / 3.792 GB, free: 98.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04823/12.17, allocations: 19.87 MB / 3.811 GB, free: 96.1 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00504/12.17, allocations: 5.381 MB / 3.816 GB, free: 95.21 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.03127/12.21, allocations: 7.968 MB / 3.824 GB, free: 94.24 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009263/12.21, allocations: 3.66 MB / 3.828 GB, free: 94.24 MB / 0.7292 GB Notification: Performance of SimCode: time 1.282e-06/12.21, allocations: 1.5 kB / 3.828 GB, free: 94.24 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9428/13.16, allocations: 309.2 MB / 4.13 GB, free: 108.8 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/13.16, allocations: 221.9 kB / 4.13 GB, free: 108.5 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/25.24, allocations: 0 / 4.13 GB, free: 108.5 MB / 0.7448 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.pipe 2>&1)