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.6943/0.6943, allocations: 127.4 MB / 134.9 MB, free: 3.719 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 176.9 kB / 164.6 MB, free: 6.523 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.526/1.526, allocations: 205.2 MB / 399.5 MB, free: 5.93 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.0008994/0.0008991, allocations: 94.41 kB / 476.7 MB, free: 8.648 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.656e-05/1.657e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1727, allocations: 76.76 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.173/1.345, allocations: 390 MB / 1.002 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/1.346, allocations: 95.94 kB / 1.003 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.456/9.802, allocations: 2.278 GB / 3.28 GB, free: 70.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.893e-06/9.802, allocations: 0 / 3.28 GB, free: 70.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.001475/9.803, allocations: 259.8 kB / 3.28 GB, free: 70.02 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.02608/9.83, allocations: 7.299 MB / 3.287 GB, free: 67.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/9.83, allocations: 7.781 kB / 3.287 GB, free: 67.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0088/9.838, allocations: 1.266 MB / 3.289 GB, free: 66.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03233/9.871, allocations: 14.45 MB / 3.303 GB, free: 65.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003116/9.871, allocations: 174.5 kB / 3.303 GB, free: 65.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002709/9.874, allocations: 355.2 kB / 3.303 GB, free: 65.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02592/9.9, allocations: 17.7 MB / 3.321 GB, free: 65.08 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02761/9.927, allocations: 12.5 MB / 3.333 GB, free: 64.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001487/9.928, allocations: 23.41 kB / 3.333 GB, free: 64.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001172/9.929, allocations: 13.25 kB / 3.333 GB, free: 64.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.12e-05/9.929, allocations: 140.2 kB / 3.333 GB, free: 64.26 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.08423/10.01, allocations: 55.15 MB / 3.387 GB, free: 42.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01163/10.02, allocations: 8.369 MB / 3.395 GB, free: 38.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01016/10.04, allocations: 9.033 MB / 3.404 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04582/10.08, allocations: 24.02 MB / 3.427 GB, free: 9.852 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01191/10.09, allocations: 7.21 MB / 3.434 GB, free: 2.59 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.5772/10.67, allocations: 21.02 MB / 3.455 GB, free: 81.91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=278): time 3.822e-05/10.67, allocations: 0 / 3.455 GB, free: 81.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=278): time 0.04799/10.72, allocations: 16.24 MB / 3.471 GB, free: 81.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/10.72, allocations: 134.9 kB / 3.471 GB, free: 81.47 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01045/10.73, allocations: 6.233 MB / 3.477 GB, free: 81.13 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.002593/10.73, allocations: 32.27 kB / 3.477 GB, free: 81.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003748/10.74, allocations: 4.072 MB / 3.481 GB, free: 80.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003449/10.74, allocations: 0.966 MB / 3.482 GB, free: 79.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008486/10.74, allocations: 0 / 3.482 GB, free: 79.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002621/10.74, allocations: 496.6 kB / 3.482 GB, free: 79.58 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006721/10.75, allocations: 6.036 MB / 3.488 GB, free: 79.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007928/10.75, allocations: 7.915 MB / 3.496 GB, free: 77.17 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01454/10.77, allocations: 7.517 MB / 3.503 GB, free: 77.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.764e-05/10.77, allocations: 19.75 kB / 3.503 GB, free: 77.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.04743/10.82, allocations: 17.59 MB / 3.521 GB, free: 76.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.005805/10.82, allocations: 27.05 MB / 3.547 GB, free: 48.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001309/10.82, allocations: 60.45 kB / 3.547 GB, free: 48.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004775/10.83, allocations: 1.89 MB / 3.549 GB, free: 47.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009101/10.84, allocations: 1.57 MB / 3.55 GB, free: 47.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01799/10.85, allocations: 7.824 MB / 3.558 GB, free: 44.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01267/10.87, allocations: 483.1 kB / 3.558 GB, free: 44.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003142/10.87, allocations: 0.5545 MB / 3.559 GB, free: 44.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/10.87, allocations: 3.656 kB / 3.559 GB, free: 44.81 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02901/10.9, allocations: 15.53 MB / 3.574 GB, free: 44.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001939/10.9, allocations: 53.28 kB / 3.574 GB, free: 44.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003658/10.9, allocations: 1.422 MB / 3.576 GB, free: 44.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008446/10.91, allocations: 1.567 MB / 3.577 GB, free: 44.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01579/10.93, allocations: 10.52 MB / 3.587 GB, free: 39.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0118/10.94, allocations: 411.4 kB / 3.588 GB, free: 39.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003244/10.94, allocations: 0.5366 MB / 3.588 GB, free: 39.66 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.003466/10.95, allocations: 270.2 kB / 3.589 GB, free: 39.54 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03691/10.98, allocations: 15.75 MB / 3.604 GB, free: 38.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004549/10.99, allocations: 0.6876 MB / 3.605 GB, free: 38.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03555/11.02, allocations: 14.59 MB / 3.619 GB, free: 37.95 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.712e-05/11.02, allocations: 31.34 kB / 3.619 GB, free: 37.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/11.02, allocations: 0 / 3.619 GB, free: 37.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02721/11.05, allocations: 11.29 MB / 3.63 GB, free: 36.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04634/11.1, allocations: 24.05 MB / 3.653 GB, free: 25.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/11.1, allocations: 0 / 3.653 GB, free: 25.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004886/11.1, allocations: 0.597 MB / 3.654 GB, free: 25.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00211/11.1, allocations: 1.037 MB / 3.655 GB, free: 24.22 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007593/11.1, allocations: 71.53 kB / 3.655 GB, free: 24.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03688/11.14, allocations: 13.33 MB / 3.668 GB, free: 12.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/11.14, allocations: 4.062 kB / 3.668 GB, free: 12.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05211/11.19, allocations: 20.49 MB / 3.688 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006928/11.2, allocations: 1.9 MB / 3.69 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002314/11.2, allocations: 15.89 kB / 3.69 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007191/11.21, allocations: 365.6 kB / 3.69 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008309/11.21, allocations: 224 kB / 3.691 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005958/11.21, allocations: 160 kB / 3.691 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.008633/11.22, allocations: 4.736 MB / 3.695 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.51e-07/11.22, allocations: 0 / 3.695 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.03039/11.25, allocations: 5.045 MB / 3.7 GB, free: 4.977 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.5823/11.83, allocations: 20.8 MB / 3.721 GB, free: 89.76 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.04973/11.88, allocations: 23.32 MB / 3.743 GB, free: 89.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.677e-05/11.88, allocations: 5.281 kB / 3.743 GB, free: 89.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01492/11.9, allocations: 6.774 MB / 3.75 GB, free: 88.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02275/11.92, allocations: 3.997 MB / 3.754 GB, free: 88.61 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0479/11.97, allocations: 19.37 MB / 3.773 GB, free: 85.77 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004778/11.97, allocations: 5.369 MB / 3.778 GB, free: 84.89 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0284/12, allocations: 7.305 MB / 3.785 GB, free: 84.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009091/12.01, allocations: 3.632 MB / 3.789 GB, free: 84.24 MB / 0.7136 GB Notification: Performance of SimCode: time 2.094e-06/12.01, allocations: 0 / 3.789 GB, free: 84.24 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9084/12.92, allocations: 275 MB / 4.057 GB, free: 97.68 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001458/12.92, allocations: 171.9 kB / 4.057 GB, free: 97.49 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/24.11, allocations: 0 / 4.057 GB, free: 97.49 MB / 0.7292 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)