Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries") translateModel(BuildingSystems.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7851/0.7851, allocations: 141.8 MB / 149.3 MB, free: 9.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 172.9 kB / 182.2 MB, free: 9.438 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 221.5 MB / 436.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009482/0.000948, allocations: 97.53 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001842/0.001842, allocations: 281.9 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.045e-05/2.049e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4716/0.4716, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8086/1.28, allocations: 393.5 MB / 1.142 GB, free: 4.707 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/1.281, allocations: 91.75 kB / 1.142 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.585/3.866, allocations: 0.6847 GB / 1.826 GB, free: 109.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.563e-06/3.866, allocations: 2.734 kB / 1.826 GB, free: 109.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002757/3.866, allocations: 46.2 kB / 1.826 GB, free: 109.5 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004593/3.871, allocations: 1.879 MB / 1.828 GB, free: 108.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/3.871, allocations: 12.78 kB / 1.828 GB, free: 108.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003162/3.874, allocations: 0.5346 MB / 1.829 GB, free: 108.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02924/3.903, allocations: 14.17 MB / 1.843 GB, free: 107.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-05/3.903, allocations: 35 kB / 1.843 GB, free: 107.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000385/3.904, allocations: 68.38 kB / 1.843 GB, free: 107.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001852/3.905, allocations: 0.8521 MB / 1.844 GB, free: 107.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/3.907, allocations: 1.042 MB / 1.845 GB, free: 107.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/3.908, allocations: 3.328 kB / 1.845 GB, free: 107.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/3.908, allocations: 3.719 kB / 1.845 GB, free: 107.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/3.908, allocations: 41.78 kB / 1.845 GB, free: 107.4 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.008299/3.916, allocations: 5.522 MB / 1.85 GB, free: 104.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/3.917, allocations: 0.814 MB / 1.851 GB, free: 104.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004476/3.918, allocations: 368 kB / 1.851 GB, free: 104.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003245/3.921, allocations: 2.303 MB / 1.853 GB, free: 103.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/3.921, allocations: 41.47 kB / 1.853 GB, free: 103.4 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005143/3.921, allocations: 101.5 kB / 1.854 GB, free: 103.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=65): time 2.885e-06/3.921, allocations: 0.6562 kB / 1.854 GB, free: 103.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=65): time 0.003176/3.925, allocations: 1.14 MB / 1.855 GB, free: 103.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/3.925, allocations: 59.69 kB / 1.855 GB, free: 103.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/3.926, allocations: 1.147 MB / 1.856 GB, free: 103 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.072e-05/3.926, allocations: 34.72 kB / 1.856 GB, free: 103 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004421/3.927, allocations: 0.7722 MB / 1.857 GB, free: 102.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/3.927, allocations: 220.3 kB / 1.857 GB, free: 102.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/3.927, allocations: 0 / 1.857 GB, free: 102.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.212e-05/3.927, allocations: 339.5 kB / 1.857 GB, free: 102.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004256/3.927, allocations: 332.5 kB / 1.858 GB, free: 102.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005268/3.928, allocations: 0.6729 MB / 1.858 GB, free: 101.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/3.929, allocations: 0.5178 MB / 1.859 GB, free: 101.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/3.929, allocations: 3.375 kB / 1.859 GB, free: 101.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002603/3.932, allocations: 1.318 MB / 1.86 GB, free: 101 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005407/3.932, allocations: 3.321 MB / 1.863 GB, free: 97.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/3.932, allocations: 7.656 kB / 1.863 GB, free: 97.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007066/3.933, allocations: 291.1 kB / 1.863 GB, free: 97.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000843/3.934, allocations: 215.4 kB / 1.864 GB, free: 97.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/3.935, allocations: 1.536 MB / 1.865 GB, free: 96.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/3.937, allocations: 70.06 kB / 1.865 GB, free: 96.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/3.937, allocations: 68.39 kB / 1.865 GB, free: 96.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/3.937, allocations: 5.469 kB / 1.865 GB, free: 96.14 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002492/3.939, allocations: 1.061 MB / 1.866 GB, free: 95.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/3.939, allocations: 10.19 kB / 1.866 GB, free: 95.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007221/3.94, allocations: 291.5 kB / 1.867 GB, free: 95.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007208/3.941, allocations: 210.9 kB / 1.867 GB, free: 95.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005421/3.946, allocations: 3.817 MB / 1.871 GB, free: 93.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/3.947, allocations: 65.3 kB / 1.871 GB, free: 93.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/3.947, allocations: 64.23 kB / 1.871 GB, free: 93.06 MB / 0.698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMac2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real floMac1.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): 90 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.0003452/3.948, allocations: 134 kB / 1.871 GB, free: 92.94 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/3.948, allocations: 151.4 kB / 1.871 GB, free: 92.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003458/3.952, allocations: 1.361 MB / 1.872 GB, free: 92.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/3.952, allocations: 6.531 kB / 1.872 GB, free: 92.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/3.952, allocations: 3.844 kB / 1.872 GB, free: 92.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/3.952, allocations: 5.016 kB / 1.872 GB, free: 92.4 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 postOpt removeSimpleEquations (simulation): time 0.004849/3.956, allocations: 2.479 MB / 1.875 GB, free: 91.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/3.956, allocations: 0 / 1.875 GB, free: 91.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005708/3.957, allocations: 115.5 kB / 1.875 GB, free: 91.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004473/3.957, allocations: 205.8 kB / 1.875 GB, free: 91.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.386e-05/3.958, allocations: 17.47 kB / 1.875 GB, free: 91.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009507/3.959, allocations: 1.378 MB / 1.876 GB, free: 90.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/3.959, allocations: 0 / 1.876 GB, free: 90.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002982/3.962, allocations: 1.673 MB / 1.878 GB, free: 89.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007285/3.962, allocations: 340.6 kB / 1.878 GB, free: 88.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/3.962, allocations: 3.062 kB / 1.878 GB, free: 88.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008487/3.963, allocations: 77.95 kB / 1.878 GB, free: 88.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.819e-05/3.963, allocations: 51.22 kB / 1.878 GB, free: 88.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.466e-05/3.963, allocations: 37.62 kB / 1.879 GB, free: 88.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00119/3.965, allocations: 0.8708 MB / 1.879 GB, free: 88.58 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/3.965, allocations: 2.531 kB / 1.879 GB, free: 88.58 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003506/3.968, allocations: 0.9848 MB / 1.88 GB, free: 88.34 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.s[1],floMac1.filter.s[2],floMac2.filter.s[1],floMac2.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.002148/3.97, allocations: 1.276 MB / 1.882 GB, free: 87.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002733/3.973, allocations: 1.588 MB / 1.883 GB, free: 87.36 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/3.973, allocations: 0 / 1.883 GB, free: 87.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006545/3.974, allocations: 421.5 kB / 1.884 GB, free: 87.22 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002926/3.977, allocations: 0.6325 MB / 1.884 GB, free: 87.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003365/3.98, allocations: 2.081 MB / 1.886 GB, free: 86.17 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007355/3.981, allocations: 1.404 MB / 1.888 GB, free: 85.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002169/3.983, allocations: 0.5545 MB / 1.888 GB, free: 85.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/3.983, allocations: 104.1 kB / 1.888 GB, free: 85.3 MB / 0.698 GB Notification: Performance of SimCode: time 8.52e-07/3.983, allocations: 0 / 1.888 GB, free: 85.3 MB / 0.698 GB Notification: Performance of Templates: time 0.05267/4.036, allocations: 38.95 MB / 1.926 GB, free: 49.21 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)