Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages") translateModel(Buildings.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.783/1.783, allocations: 292.6 MB / 307.5 MB, free: 5.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 177 kB / 377.1 MB, free: 1.402 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.207/2.207, allocations: 205.4 MB / 0.6367 GB, free: 9.539 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 95.5 kB / 0.751 GB, free: 62.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003608, allocations: 12 kB / 0.8748 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3404, allocations: 116.3 MB / 0.9884 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.815/2.155, allocations: 447.2 MB / 1.425 GB, free: 268.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/2.156, allocations: 99.95 kB / 1.425 GB, free: 268.3 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 9.019/11.17, allocations: 2.334 GB / 3.759 GB, free: 92.48 MB / 1.01 GB Notification: Performance of FrontEnd: time 5.09e-06/11.17, allocations: 3.469 kB / 3.759 GB, free: 92.48 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001528/11.18, allocations: 110.2 kB / 3.759 GB, free: 92.47 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.03626/11.21, allocations: 7.825 MB / 3.767 GB, free: 90.04 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 8.633e-05/11.21, allocations: 7.281 kB / 3.767 GB, free: 90.04 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.012/11.22, allocations: 1.19 MB / 3.768 GB, free: 89.75 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08227/11.31, allocations: 31.31 MB / 3.799 GB, free: 87.93 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004127/11.31, allocations: 182 kB / 3.799 GB, free: 87.93 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001503/11.31, allocations: 242.7 kB / 3.799 GB, free: 87.93 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009701/11.32, allocations: 2.896 MB / 3.802 GB, free: 87.54 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001177/11.32, allocations: 7.344 kB / 3.802 GB, free: 87.54 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007448/11.32, allocations: 86.66 kB / 3.802 GB, free: 87.54 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-05/11.32, allocations: 52.69 kB / 3.802 GB, free: 87.54 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006156/11.33, allocations: 2.12 MB / 3.804 GB, free: 87.52 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02939/11.35, allocations: 13.26 MB / 3.817 GB, free: 82.85 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004504/11.36, allocations: 1.628 MB / 3.819 GB, free: 82.82 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01166/11.37, allocations: 5.249 MB / 3.824 GB, free: 80.91 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002426/11.37, allocations: 1.231 MB / 3.825 GB, free: 80.85 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003097/11.38, allocations: 233.5 kB / 3.825 GB, free: 80.75 MB / 1.01 GB Notification: Performance of pre-optimization done (n=92): time 6.262e-06/11.38, allocations: 5.75 kB / 3.825 GB, free: 80.75 MB / 1.01 GB Notification: Performance of matching and sorting (n=92): time 0.01165/11.39, allocations: 3.432 MB / 3.828 GB, free: 80.04 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/11.39, allocations: 113.9 kB / 3.829 GB, free: 79.91 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/11.4, allocations: 5.269 MB / 3.834 GB, free: 79.57 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0009036/11.4, allocations: 62.05 kB / 3.834 GB, free: 79.54 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002354/11.4, allocations: 2.142 MB / 3.836 GB, free: 79.06 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008658/11.4, allocations: 320.7 kB / 3.836 GB, free: 78.86 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/11.4, allocations: 35.38 kB / 3.836 GB, free: 78.86 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001546/11.4, allocations: 387.2 kB / 3.837 GB, free: 78.55 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002011/11.41, allocations: 0.8632 MB / 3.837 GB, free: 78.55 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/11.41, allocations: 1.935 MB / 3.839 GB, free: 77.23 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/11.41, allocations: 1.077 MB / 3.84 GB, free: 77.21 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.84e-05/11.41, allocations: 7.844 kB / 3.84 GB, free: 77.21 MB / 1.01 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007257/11.42, allocations: 3.207 MB / 3.843 GB, free: 76.89 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.003306/11.42, allocations: 13.76 MB / 3.857 GB, free: 62.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.606e-05/11.42, allocations: 32.56 kB / 3.857 GB, free: 62.39 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/11.42, allocations: 388.1 kB / 3.857 GB, free: 62.36 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003446/11.43, allocations: 0.5466 MB / 3.858 GB, free: 62.36 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003892/11.43, allocations: 5.257 MB / 3.863 GB, free: 57.86 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004649/11.43, allocations: 186.3 kB / 3.863 GB, free: 57.82 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005879/11.44, allocations: 215.5 kB / 3.863 GB, free: 57.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/11.44, allocations: 3.188 kB / 3.863 GB, free: 57.8 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006303/11.44, allocations: 2.901 MB / 3.866 GB, free: 56.89 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/11.44, allocations: 34.7 kB / 3.866 GB, free: 56.88 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/11.44, allocations: 393.1 kB / 3.867 GB, free: 56.77 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002278/11.45, allocations: 0.5898 MB / 3.867 GB, free: 56.72 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/11.45, allocations: 2.564 MB / 3.87 GB, free: 54.43 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004279/11.45, allocations: 187.5 kB / 3.87 GB, free: 54.38 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000528/11.45, allocations: 203.3 kB / 3.87 GB, free: 54.36 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 205 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.003928/11.46, allocations: 1.182 MB / 3.871 GB, free: 53.68 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001657/11.46, allocations: 432.5 kB / 3.872 GB, free: 53.44 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008516/11.47, allocations: 2.775 MB / 3.874 GB, free: 52.47 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.506e-05/11.47, allocations: 17.53 kB / 3.874 GB, free: 52.47 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/11.47, allocations: 0 / 3.874 GB, free: 52.47 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/11.47, allocations: 5.578 kB / 3.874 GB, free: 52.47 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01765/11.48, allocations: 6.124 MB / 3.88 GB, free: 49.93 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/11.48, allocations: 3.656 kB / 3.88 GB, free: 49.93 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/11.49, allocations: 217.8 kB / 3.881 GB, free: 49.91 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001158/11.49, allocations: 417.4 kB / 3.881 GB, free: 49.77 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/11.49, allocations: 44 kB / 3.881 GB, free: 49.75 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005019/11.49, allocations: 4.964 MB / 3.886 GB, free: 61.14 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/11.49, allocations: 3.938 kB / 3.886 GB, free: 61.14 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006335/11.5, allocations: 2.606 MB / 3.888 GB, free: 59.91 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003096/11.5, allocations: 0.9438 MB / 3.889 GB, free: 59.32 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001707/11.5, allocations: 22.31 kB / 3.889 GB, free: 59.3 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003207/11.51, allocations: 173.2 kB / 3.889 GB, free: 59.25 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002072/11.51, allocations: 87.62 kB / 3.89 GB, free: 59.24 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001999/11.51, allocations: 80.81 kB / 3.89 GB, free: 59.23 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.008527/11.51, allocations: 4.006 MB / 3.894 GB, free: 57.66 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.543e-06/11.52, allocations: 0 / 3.894 GB, free: 57.66 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.008387/11.52, allocations: 1.999 MB / 3.896 GB, free: 57.25 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 4,1 4,1 1,1 4,1 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004409/11.53, allocations: 2.411 MB / 3.898 GB, free: 56.38 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.008247/11.54, allocations: 3.865 MB / 3.902 GB, free: 55.16 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/11.54, allocations: 0 / 3.902 GB, free: 55.16 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.002061/11.54, allocations: 0.9407 MB / 3.903 GB, free: 54.88 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01006/11.55, allocations: 2.153 MB / 3.905 GB, free: 54.4 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/11.57, allocations: 8.331 MB / 3.913 GB, free: 49.98 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004478/11.57, allocations: 2.691 MB / 3.915 GB, free: 48.92 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.007421/11.58, allocations: 1.212 MB / 3.917 GB, free: 48.73 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001575/11.58, allocations: 367.9 kB / 3.917 GB, free: 48.71 MB / 1.026 GB Notification: Performance of SimCode: time 1.282e-06/11.58, allocations: 6.672 kB / 3.917 GB, free: 48.71 MB / 1.026 GB Notification: Performance of Templates: time 0.9749/12.55, allocations: 106.4 MB / 4.021 GB, free: 83.32 MB / 1.026 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.sim & ./Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1)