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.7608/0.7608, allocations: 127.3 MB / 139.8 MB, free: 15.45 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.001086/0.001086, allocations: 180.8 kB / 169.7 MB, free: 1.734 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.713/1.713, allocations: 205.1 MB / 404.5 MB, free: 1.656 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.0008776/0.0008773, allocations: 97.84 kB / 481.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.422e-05/3.423e-05, allocations: 4 kB / 0.5533 GB, free: 54.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1512, allocations: 76.76 MB / 0.6282 GB, free: 9.941 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.155/1.306, allocations: 398.3 MB / 1.017 GB, free: 116.9 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/1.306, allocations: 88.83 kB / 1.017 GB, free: 116.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.743/4.05, allocations: 0.663 GB / 1.68 GB, free: 92.23 MB / 0.6511 GB Notification: Performance of FrontEnd: time 5.73e-06/4.05, allocations: 1.406 kB / 1.68 GB, free: 92.23 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0006221/4.05, allocations: 51.83 kB / 1.68 GB, free: 92.23 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.008507/4.059, allocations: 1.943 MB / 1.682 GB, free: 91.41 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/4.059, allocations: 13.94 kB / 1.682 GB, free: 91.41 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006645/4.06, allocations: 151 kB / 1.682 GB, free: 91.37 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004741/4.064, allocations: 0.6206 MB / 1.683 GB, free: 91.26 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03195/4.096, allocations: 13.65 MB / 1.696 GB, free: 90.46 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/4.097, allocations: 91.69 kB / 1.696 GB, free: 90.46 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005586/4.097, allocations: 112.6 kB / 1.697 GB, free: 90.46 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003116/4.1, allocations: 1.245 MB / 1.698 GB, free: 90.22 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.954e-05/4.1, allocations: 1.594 kB / 1.698 GB, free: 90.22 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001769/4.1, allocations: 44.25 kB / 1.698 GB, free: 90.22 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/4.101, allocations: 27.12 kB / 1.698 GB, free: 90.22 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/4.102, allocations: 0.8472 MB / 1.699 GB, free: 90.21 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.007956/4.11, allocations: 5.539 MB / 1.704 GB, free: 87.57 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/4.112, allocations: 0.7665 MB / 1.705 GB, free: 87.44 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004145/4.112, allocations: 315.2 kB / 1.705 GB, free: 87.43 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002854/4.115, allocations: 2.115 MB / 1.707 GB, free: 86.18 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/4.115, allocations: 42.19 kB / 1.707 GB, free: 86.14 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000532/4.115, allocations: 135.6 kB / 1.707 GB, free: 86.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=58): time 2.705e-06/4.115, allocations: 3 kB / 1.707 GB, free: 86.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58): time 0.002213/4.118, allocations: 0.9303 MB / 1.708 GB, free: 85.95 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/4.118, allocations: 215.8 kB / 1.709 GB, free: 85.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/4.119, allocations: 1.336 MB / 1.71 GB, free: 85.52 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.981e-05/4.12, allocations: 42.7 kB / 1.71 GB, free: 85.49 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005634/4.12, allocations: 0.8267 MB / 1.711 GB, free: 85.24 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/4.12, allocations: 201.5 kB / 1.711 GB, free: 85.11 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/4.12, allocations: 14.44 kB / 1.711 GB, free: 85.11 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.363e-05/4.12, allocations: 350.6 kB / 1.711 GB, free: 84.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004677/4.121, allocations: 317.9 kB / 1.711 GB, free: 84.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006737/4.122, allocations: 0.6917 MB / 1.712 GB, free: 84.36 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00057/4.122, allocations: 419.4 kB / 1.713 GB, free: 84.34 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/4.122, allocations: 0 / 1.713 GB, free: 84.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001873/4.124, allocations: 1.236 MB / 1.714 GB, free: 84.19 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000698/4.125, allocations: 3.36 MB / 1.717 GB, free: 80.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.85e-05/4.125, allocations: 18.92 kB / 1.717 GB, free: 80.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007665/4.126, allocations: 256.2 kB / 1.717 GB, free: 80.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007438/4.126, allocations: 197.7 kB / 1.718 GB, free: 80.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/4.128, allocations: 1.413 MB / 1.719 GB, free: 79.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/4.129, allocations: 90.83 kB / 1.719 GB, free: 79.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/4.129, allocations: 67.31 kB / 1.719 GB, free: 79.61 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/4.129, allocations: 8.25 kB / 1.719 GB, free: 79.61 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001894/4.131, allocations: 1.115 MB / 1.72 GB, free: 79.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/4.131, allocations: 12.88 kB / 1.72 GB, free: 79.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008176/4.132, allocations: 316.1 kB / 1.72 GB, free: 79.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/4.132, allocations: 179.3 kB / 1.721 GB, free: 79.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005402/4.138, allocations: 3.91 MB / 1.724 GB, free: 77.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/4.139, allocations: 76.98 kB / 1.725 GB, free: 77.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/4.139, allocations: 61.8 kB / 1.725 GB, free: 77.33 MB / 0.6511 GB 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003566/4.14, allocations: 175.2 kB / 1.725 GB, free: 77.21 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/4.14, allocations: 166.2 kB / 1.725 GB, free: 77.12 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002842/4.143, allocations: 1.303 MB / 1.726 GB, free: 77 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/4.143, allocations: 11.38 kB / 1.726 GB, free: 77 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/4.143, allocations: 3.172 kB / 1.726 GB, free: 77 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/4.143, allocations: 6.281 kB / 1.726 GB, free: 77 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.00399/4.147, allocations: 2.281 MB / 1.728 GB, free: 76.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/4.147, allocations: 0 / 1.728 GB, free: 76.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005552/4.147, allocations: 99.66 kB / 1.729 GB, free: 76.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007142/4.148, allocations: 250.4 kB / 1.729 GB, free: 76.61 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.138e-05/4.148, allocations: 31.59 kB / 1.729 GB, free: 76.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009622/4.149, allocations: 1.345 MB / 1.73 GB, free: 75.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/4.149, allocations: 3.969 kB / 1.73 GB, free: 75.57 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/4.151, allocations: 1.455 MB / 1.732 GB, free: 75.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006682/4.152, allocations: 326.4 kB / 1.732 GB, free: 75.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/4.152, allocations: 15.66 kB / 1.732 GB, free: 75.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008421/4.153, allocations: 92.5 kB / 1.732 GB, free: 75.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/4.153, allocations: 36.67 kB / 1.732 GB, free: 75.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.682e-05/4.153, allocations: 39.77 kB / 1.732 GB, free: 75.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001415/4.155, allocations: 1.059 MB / 1.733 GB, free: 74.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/4.155, allocations: 3.188 kB / 1.733 GB, free: 74.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00371/4.158, allocations: 1.068 MB / 1.734 GB, free: 74.8 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 (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.004742/4.163, allocations: 3.256 MB / 1.737 GB, free: 73.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00339/4.167, allocations: 1.784 MB / 1.739 GB, free: 73.49 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/4.167, allocations: 0 / 1.739 GB, free: 73.49 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006585/4.167, allocations: 384 kB / 1.739 GB, free: 73.48 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003259/4.171, allocations: 0.7246 MB / 1.74 GB, free: 73.47 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005377/4.176, allocations: 2.617 MB / 1.743 GB, free: 72.72 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008232/4.177, allocations: 1.415 MB / 1.744 GB, free: 72 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00227/4.179, allocations: 0.5647 MB / 1.745 GB, free: 71.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007966/4.18, allocations: 0.6665 MB / 1.745 GB, free: 71.98 MB / 0.6511 GB Notification: Performance of SimCode: time 1.182e-06/4.18, allocations: 0 / 1.745 GB, free: 71.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1084/4.288, allocations: 66.28 MB / 1.81 GB, free: 66.55 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/4.289, allocations: 220 kB / 1.81 GB, free: 66.33 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.331/8.62, allocations: 4 kB / 1.81 GB, free: 66.32 MB / 0.6511 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)