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.7761/0.7761, allocations: 141.8 MB / 149.3 MB, free: 9.242 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.000987/0.000987, allocations: 176.5 kB / 182.2 MB, free: 9.469 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.403/1.403, allocations: 221.5 MB / 436.4 MB, free: 13.28 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.0008639/0.0008638, allocations: 84.17 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001695/0.001695, allocations: 270.9 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.507e-05/2.497e-05, allocations: 7.984 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4552/0.4552, allocations: 82.77 MB / 0.7574 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8689/1.324, allocations: 393.5 MB / 1.142 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/1.325, allocations: 93.64 kB / 1.142 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.721/4.046, allocations: 0.6847 GB / 1.826 GB, free: 110 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/4.046, allocations: 0 / 1.826 GB, free: 110 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002393/4.046, allocations: 50.16 kB / 1.826 GB, free: 110 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.004239/4.05, allocations: 1.876 MB / 1.828 GB, free: 109.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/4.051, allocations: 7.125 kB / 1.828 GB, free: 109.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002835/4.053, allocations: 0.5347 MB / 1.829 GB, free: 109 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02812/4.082, allocations: 14.18 MB / 1.843 GB, free: 108.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.364e-05/4.082, allocations: 31.16 kB / 1.843 GB, free: 108.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/4.082, allocations: 70.28 kB / 1.843 GB, free: 108.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001574/4.083, allocations: 0.8526 MB / 1.844 GB, free: 108.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/4.085, allocations: 1.054 MB / 1.845 GB, free: 107.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/4.085, allocations: 1.781 kB / 1.845 GB, free: 107.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.231e-05/4.085, allocations: 3.281 kB / 1.845 GB, free: 107.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.935e-05/4.085, allocations: 37 kB / 1.845 GB, free: 107.9 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.008013/4.093, allocations: 5.516 MB / 1.85 GB, free: 105.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/4.094, allocations: 0.8191 MB / 1.851 GB, free: 105.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004628/4.095, allocations: 368.6 kB / 1.851 GB, free: 105.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00342/4.098, allocations: 2.3 MB / 1.853 GB, free: 103.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/4.098, allocations: 44.47 kB / 1.853 GB, free: 103.9 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006247/4.099, allocations: 103.6 kB / 1.854 GB, free: 103.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=65): time 3.576e-06/4.099, allocations: 7.25 kB / 1.854 GB, free: 103.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=65): time 0.003168/4.102, allocations: 1.135 MB / 1.855 GB, free: 103.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/4.102, allocations: 64.81 kB / 1.855 GB, free: 103.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/4.104, allocations: 1.143 MB / 1.856 GB, free: 103.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.45e-05/4.104, allocations: 29.42 kB / 1.856 GB, free: 103.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005968/4.104, allocations: 0.774 MB / 1.857 GB, free: 103.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/4.105, allocations: 220.2 kB / 1.857 GB, free: 103 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/4.105, allocations: 1.719 kB / 1.857 GB, free: 103 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.659e-05/4.105, allocations: 339.8 kB / 1.857 GB, free: 102.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000448/4.105, allocations: 330.5 kB / 1.858 GB, free: 102.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006673/4.106, allocations: 0.6688 MB / 1.858 GB, free: 102 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/4.108, allocations: 0.5175 MB / 1.859 GB, free: 101.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/4.108, allocations: 3.969 kB / 1.859 GB, free: 101.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002873/4.11, allocations: 1.316 MB / 1.86 GB, free: 101.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009594/4.111, allocations: 3.322 MB / 1.863 GB, free: 97.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/4.111, allocations: 11.88 kB / 1.863 GB, free: 97.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008547/4.112, allocations: 281.5 kB / 1.863 GB, free: 97.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000899/4.113, allocations: 212.3 kB / 1.864 GB, free: 97.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/4.115, allocations: 1.533 MB / 1.865 GB, free: 96.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/4.116, allocations: 75.12 kB / 1.865 GB, free: 96.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/4.116, allocations: 74.39 kB / 1.865 GB, free: 96.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/4.116, allocations: 2.812 kB / 1.865 GB, free: 96.52 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002562/4.119, allocations: 1.059 MB / 1.866 GB, free: 96.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/4.119, allocations: 10.02 kB / 1.866 GB, free: 96.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007405/4.12, allocations: 295.1 kB / 1.867 GB, free: 96.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007251/4.12, allocations: 200.1 kB / 1.867 GB, free: 96.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005424/4.126, allocations: 3.822 MB / 1.871 GB, free: 93.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/4.127, allocations: 65.91 kB / 1.871 GB, free: 93.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/4.127, allocations: 66.19 kB / 1.871 GB, free: 93.45 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.0003801/4.128, allocations: 134.4 kB / 1.871 GB, free: 93.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/4.128, allocations: 151.7 kB / 1.871 GB, free: 93.24 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003501/4.132, allocations: 1.355 MB / 1.872 GB, free: 92.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/4.132, allocations: 8.969 kB / 1.872 GB, free: 92.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/4.132, allocations: 0 / 1.872 GB, free: 92.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/4.132, allocations: 3.234 kB / 1.872 GB, free: 92.79 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.004806/4.136, allocations: 2.483 MB / 1.875 GB, free: 91.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/4.136, allocations: 0 / 1.875 GB, free: 91.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005502/4.137, allocations: 121.1 kB / 1.875 GB, free: 91.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004379/4.137, allocations: 211.4 kB / 1.875 GB, free: 91.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.337e-05/4.138, allocations: 17.52 kB / 1.875 GB, free: 91.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008912/4.138, allocations: 1.372 MB / 1.876 GB, free: 90.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/4.138, allocations: 3.938 kB / 1.876 GB, free: 90.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002803/4.141, allocations: 1.679 MB / 1.878 GB, free: 89.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006143/4.142, allocations: 335.7 kB / 1.878 GB, free: 89.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/4.142, allocations: 0 / 1.878 GB, free: 89.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008645/4.143, allocations: 76.97 kB / 1.878 GB, free: 89.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.121e-05/4.143, allocations: 49.94 kB / 1.879 GB, free: 89.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-05/4.143, allocations: 33.06 kB / 1.879 GB, free: 89.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001123/4.144, allocations: 0.8715 MB / 1.879 GB, free: 88.96 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/4.144, allocations: 0 / 1.879 GB, free: 88.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003194/4.147, allocations: 0.9875 MB / 1.88 GB, free: 88.73 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.002074/4.15, allocations: 1.276 MB / 1.882 GB, free: 88.37 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002666/4.152, allocations: 1.585 MB / 1.883 GB, free: 87.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/4.152, allocations: 3.906 kB / 1.883 GB, free: 87.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006082/4.153, allocations: 417.9 kB / 1.884 GB, free: 87.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002876/4.156, allocations: 0.6447 MB / 1.884 GB, free: 87.49 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/4.159, allocations: 2.08 MB / 1.886 GB, free: 86.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007219/4.16, allocations: 1.406 MB / 1.888 GB, free: 85.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002167/4.162, allocations: 0.5549 MB / 1.888 GB, free: 85.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/4.162, allocations: 102.1 kB / 1.888 GB, free: 85.71 MB / 0.698 GB Notification: Performance of SimCode: time 9.62e-07/4.162, allocations: 0 / 1.888 GB, free: 85.71 MB / 0.698 GB Notification: Performance of Templates: time 0.05612/4.218, allocations: 38.95 MB / 1.926 GB, free: 49.03 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)