Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries.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.Movers.Examples.PumpsSeries,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_PumpsSeries",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.7932/0.7932, allocations: 127.4 MB / 134.9 MB, free: 3.465 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.001176/0.001176, allocations: 170.8 kB / 164.6 MB, free: 11.6 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.624/1.624, allocations: 205.2 MB / 399.5 MB, free: 13.56 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.0009376/0.0009376, allocations: 93.66 kB / 476.7 MB, free: 1.539 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.538e-05/2.533e-05, allocations: 2.5 kB / 0.5467 GB, free: 95.39 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1687, allocations: 76.78 MB / 0.6216 GB, free: 43.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.293/1.461, allocations: 397.7 MB / 1.01 GB, free: 180.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/1.462, allocations: 89.2 kB / 1.01 GB, free: 180.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.16/3.622, allocations: 0.659 GB / 1.669 GB, free: 72.06 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.663e-06/3.622, allocations: 0 / 1.669 GB, free: 72.06 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002314/3.622, allocations: 55.69 kB / 1.669 GB, free: 72.01 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004588/3.626, allocations: 1.941 MB / 1.671 GB, free: 70.04 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/3.626, allocations: 8.031 kB / 1.671 GB, free: 70.03 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003742/3.63, allocations: 0.6226 MB / 1.672 GB, free: 69.41 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02681/3.657, allocations: 13.6 MB / 1.685 GB, free: 55.91 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.333e-05/3.657, allocations: 43.78 kB / 1.685 GB, free: 55.88 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002633/3.657, allocations: 64 kB / 1.685 GB, free: 55.81 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0015/3.659, allocations: 0.8551 MB / 1.686 GB, free: 54.96 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/3.661, allocations: 1.096 MB / 1.687 GB, free: 53.78 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/3.661, allocations: 0 / 1.687 GB, free: 53.78 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.784e-05/3.661, allocations: 4 kB / 1.687 GB, free: 53.78 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/3.661, allocations: 24 kB / 1.687 GB, free: 53.75 MB / 0.6511 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.007928/3.669, allocations: 5.952 MB / 1.693 GB, free: 47.41 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/3.67, allocations: 0.7395 MB / 1.694 GB, free: 46.67 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003666/3.67, allocations: 334 kB / 1.694 GB, free: 46.34 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002482/3.673, allocations: 1.547 MB / 1.695 GB, free: 44.71 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/3.673, allocations: 39.12 kB / 1.695 GB, free: 44.66 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000615/3.673, allocations: 107.3 kB / 1.696 GB, free: 44.55 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=57): time 2.355e-06/3.673, allocations: 3.938 kB / 1.696 GB, free: 44.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=57): time 0.003153/3.677, allocations: 1.111 MB / 1.697 GB, free: 43.43 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/3.677, allocations: 222.2 kB / 1.697 GB, free: 43.16 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/3.678, allocations: 1.193 MB / 1.698 GB, free: 41.97 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-05/3.678, allocations: 29.7 kB / 1.698 GB, free: 41.94 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005477/3.679, allocations: 0.8182 MB / 1.699 GB, free: 41.11 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/3.679, allocations: 201 kB / 1.699 GB, free: 40.91 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.231e-05/3.679, allocations: 0 / 1.699 GB, free: 40.91 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.501e-05/3.679, allocations: 349.9 kB / 1.699 GB, free: 40.56 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004676/3.68, allocations: 354.5 kB / 1.7 GB, free: 40.22 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006344/3.68, allocations: 0.7115 MB / 1.7 GB, free: 39.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/3.682, allocations: 0.553 MB / 1.701 GB, free: 38.79 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/3.682, allocations: 4 kB / 1.701 GB, free: 38.78 MB / 0.6511 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003096/3.685, allocations: 1.386 MB / 1.702 GB, free: 37.38 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001202/3.686, allocations: 3.334 MB / 1.706 GB, free: 33.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.049e-05/3.686, allocations: 16 kB / 1.706 GB, free: 33.74 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008692/3.687, allocations: 288.7 kB / 1.706 GB, free: 33.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008834/3.688, allocations: 203.7 kB / 1.706 GB, free: 33.26 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/3.69, allocations: 1.534 MB / 1.707 GB, free: 31.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/3.691, allocations: 76 kB / 1.708 GB, free: 31.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/3.691, allocations: 75.95 kB / 1.708 GB, free: 31.53 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/3.691, allocations: 4 kB / 1.708 GB, free: 31.52 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002735/3.694, allocations: 1.129 MB / 1.709 GB, free: 30.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/3.694, allocations: 8 kB / 1.709 GB, free: 30.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007354/3.695, allocations: 304.9 kB / 1.709 GB, free: 30.08 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006488/3.696, allocations: 195.6 kB / 1.709 GB, free: 29.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005343/3.701, allocations: 3.917 MB / 1.713 GB, free: 25.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/3.702, allocations: 63.91 kB / 1.713 GB, free: 25.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/3.702, allocations: 63.97 kB / 1.713 GB, free: 25.64 MB / 0.6511 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMac1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real floMac2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 86 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0003682/3.703, allocations: 144.6 kB / 1.713 GB, free: 25.5 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002966/3.706, allocations: 1.04 MB / 1.714 GB, free: 24.45 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002503/3.706, allocations: 154 kB / 1.714 GB, free: 24.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003209/3.709, allocations: 1.249 MB / 1.716 GB, free: 23.03 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/3.709, allocations: 8 kB / 1.716 GB, free: 23.02 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/3.709, allocations: 0 / 1.716 GB, free: 23.02 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/3.709, allocations: 7.922 kB / 1.716 GB, free: 23.02 MB / 0.6511 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 postOpt removeSimpleEquations (simulation): time 0.003746/3.713, allocations: 2.147 MB / 1.718 GB, free: 20.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/3.713, allocations: 0 / 1.718 GB, free: 20.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005345/3.714, allocations: 107.8 kB / 1.718 GB, free: 20.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004425/3.714, allocations: 201.4 kB / 1.718 GB, free: 20.53 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.983e-05/3.714, allocations: 15.98 kB / 1.718 GB, free: 20.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008974/3.715, allocations: 1.386 MB / 1.719 GB, free: 19.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/3.715, allocations: 3.953 kB / 1.719 GB, free: 19.07 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/3.717, allocations: 1.425 MB / 1.721 GB, free: 17.62 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000568/3.718, allocations: 326.9 kB / 1.721 GB, free: 17.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/3.718, allocations: 3 kB / 1.721 GB, free: 17.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008347/3.719, allocations: 79.92 kB / 1.721 GB, free: 17.21 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.487e-05/3.719, allocations: 48.39 kB / 1.721 GB, free: 17.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.571e-05/3.719, allocations: 31.97 kB / 1.721 GB, free: 17.13 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001194/3.72, allocations: 0.9147 MB / 1.722 GB, free: 16.22 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.553e-06/3.72, allocations: 0 / 1.722 GB, free: 16.22 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003428/3.724, allocations: 1.028 MB / 1.723 GB, free: 15.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (floMac1.filter.x[1],floMac1.filter.x[2],floMac2.filter.x[1],floMac2.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.00444/3.728, allocations: 3.203 MB / 1.726 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002637/3.731, allocations: 1.733 MB / 1.728 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/3.731, allocations: 0 / 1.728 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000566/3.731, allocations: 374.1 kB / 1.728 GB, free: 9.965 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003021/3.734, allocations: 0.6475 MB / 1.729 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004993/3.739, allocations: 2.542 MB / 1.732 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007731/3.74, allocations: 1.415 MB / 1.733 GB, free: 5.309 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002212/3.742, allocations: 0.5672 MB / 1.733 GB, free: 4.781 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006841/3.743, allocations: 0.675 MB / 1.734 GB, free: 4.105 MB / 0.6511 GB Notification: Performance of SimCode: time 5.51e-07/3.743, allocations: 0 / 1.734 GB, free: 4.105 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5632/4.306, allocations: 55.84 MB / 1.789 GB, free: 86.45 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000153/4.306, allocations: 166.2 kB / 1.789 GB, free: 86.26 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.034/8.341, allocations: 0 / 1.789 GB, free: 86.26 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_PumpsSeries_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_PumpsSeries.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)