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.624/1.624, allocations: 289.7 MB / 302.3 MB, free: 2.152 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.001114/0.001114, allocations: 185.6 kB / 371.6 MB, free: 3.359 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.1 MB / 0.6309 GB, free: 11.73 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.0008798/0.0008798, allocations: 91.64 kB / 0.745 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.714e-05/4.718e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2894, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.878/2.168, allocations: 447.1 MB / 1.416 GB, free: 252.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/2.168, allocations: 91.75 kB / 1.417 GB, free: 252.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.264/11.43, allocations: 2.328 GB / 3.744 GB, free: 95.91 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.844e-06/11.43, allocations: 1.781 kB / 3.744 GB, free: 95.91 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001153/11.43, allocations: 111 kB / 3.744 GB, free: 95.89 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.01572/11.45, allocations: 4.024 MB / 3.748 GB, free: 94.02 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/11.45, allocations: 11.66 kB / 3.748 GB, free: 94.02 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008505/11.46, allocations: 1.191 MB / 3.749 GB, free: 93.73 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07447/11.53, allocations: 31.13 MB / 3.78 GB, free: 91.91 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003771/11.53, allocations: 189.2 kB / 3.78 GB, free: 91.9 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0014/11.53, allocations: 236.8 kB / 3.78 GB, free: 91.9 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008792/11.54, allocations: 2.789 MB / 3.783 GB, free: 91.52 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-05/11.54, allocations: 3.844 kB / 3.783 GB, free: 91.52 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007394/11.54, allocations: 91.72 kB / 3.783 GB, free: 91.52 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-05/11.54, allocations: 52.48 kB / 3.783 GB, free: 91.52 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004931/11.55, allocations: 1.922 MB / 3.785 GB, free: 91.5 MB / 1.01 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.03001/11.58, allocations: 13.26 MB / 3.798 GB, free: 86.83 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003657/11.58, allocations: 1.449 MB / 3.799 GB, free: 86.79 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/11.58, allocations: 0.6349 MB / 3.8 GB, free: 86.78 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0126/11.6, allocations: 5.281 MB / 3.805 GB, free: 84.88 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001918/11.6, allocations: 1.133 MB / 3.806 GB, free: 84.82 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002945/11.6, allocations: 234 kB / 3.806 GB, free: 84.72 MB / 1.01 GB Notification: Performance of pre-optimization done (n=92): time 1.032e-05/11.6, allocations: 1.75 kB / 3.806 GB, free: 84.72 MB / 1.01 GB Notification: Performance of matching and sorting (n=92): time 0.006521/11.61, allocations: 2.005 MB / 3.808 GB, free: 84.39 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.026e-05/11.61, allocations: 113.5 kB / 3.808 GB, free: 84.27 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0187/11.63, allocations: 5.211 MB / 3.813 GB, free: 83.91 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0008673/11.63, allocations: 60.8 kB / 3.814 GB, free: 83.88 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.003967/11.63, allocations: 2.139 MB / 3.816 GB, free: 83.39 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009802/11.63, allocations: 321.4 kB / 3.816 GB, free: 83.19 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005893/11.63, allocations: 42.52 kB / 3.816 GB, free: 83.19 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002715/11.63, allocations: 382.3 kB / 3.816 GB, free: 82.89 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001961/11.64, allocations: 0.7761 MB / 3.817 GB, free: 82.88 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002514/11.64, allocations: 1.838 MB / 3.819 GB, free: 81.57 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002229/11.64, allocations: 0.9967 MB / 3.82 GB, free: 81.54 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-05/11.64, allocations: 9.969 kB / 3.82 GB, free: 81.54 MB / 1.01 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.00808/11.65, allocations: 3.012 MB / 3.823 GB, free: 81.21 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.003742/11.65, allocations: 13.76 MB / 3.836 GB, free: 66.71 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.95e-05/11.65, allocations: 34.94 kB / 3.836 GB, free: 66.71 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/11.65, allocations: 358 kB / 3.837 GB, free: 66.68 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00332/11.66, allocations: 0.5387 MB / 3.837 GB, free: 66.68 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00466/11.66, allocations: 5.21 MB / 3.842 GB, free: 62.26 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006229/11.67, allocations: 190.6 kB / 3.842 GB, free: 62.25 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001504/11.67, allocations: 219.3 kB / 3.843 GB, free: 62.25 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/11.67, allocations: 3.875 kB / 3.843 GB, free: 62.25 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007351/11.68, allocations: 2.734 MB / 3.845 GB, free: 62.19 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001412/11.68, allocations: 25.62 kB / 3.845 GB, free: 62.19 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/11.68, allocations: 362.7 kB / 3.846 GB, free: 62.16 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002469/11.68, allocations: 0.5829 MB / 3.846 GB, free: 62.16 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/11.68, allocations: 2.525 MB / 3.849 GB, free: 60.09 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004476/11.69, allocations: 180.7 kB / 3.849 GB, free: 60.08 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007634/11.69, allocations: 205 kB / 3.849 GB, free: 60.08 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 () * 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.001248/11.69, allocations: 247.1 kB / 3.849 GB, free: 59.95 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001916/11.69, allocations: 436.6 kB / 3.85 GB, free: 59.71 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007617/11.7, allocations: 2.585 MB / 3.852 GB, free: 59.53 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-05/11.7, allocations: 14.53 kB / 3.852 GB, free: 59.53 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/11.7, allocations: 6.625 kB / 3.852 GB, free: 59.53 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/11.7, allocations: 3.047 kB / 3.852 GB, free: 59.53 MB / 1.01 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.01755/11.72, allocations: 5.95 MB / 3.858 GB, free: 59.02 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.018e-05/11.72, allocations: 0 / 3.858 GB, free: 59.02 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/11.72, allocations: 217.4 kB / 3.858 GB, free: 59.02 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001123/11.72, allocations: 375.9 kB / 3.859 GB, free: 58.98 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002066/11.72, allocations: 47.75 kB / 3.859 GB, free: 58.98 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003136/11.72, allocations: 4.913 MB / 3.863 GB, free: 54.69 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/11.72, allocations: 0 / 3.863 GB, free: 54.69 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006044/11.73, allocations: 2.431 MB / 3.866 GB, free: 54.03 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00371/11.73, allocations: 0.9501 MB / 3.867 GB, free: 53.69 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002171/11.73, allocations: 24.97 kB / 3.867 GB, free: 53.69 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003826/11.74, allocations: 164.9 kB / 3.867 GB, free: 53.68 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002479/11.74, allocations: 86.28 kB / 3.867 GB, free: 53.68 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002541/11.74, allocations: 76.75 kB / 3.867 GB, free: 53.68 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.009841/11.75, allocations: 3.95 MB / 3.871 GB, free: 53.47 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.71e-07/11.75, allocations: 3.25 kB / 3.871 GB, free: 53.47 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01259/11.76, allocations: 2 MB / 3.873 GB, free: 53.24 MB / 1.01 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) * 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.006259/11.77, allocations: 2.351 MB / 3.875 GB, free: 52.52 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.009948/11.78, allocations: 3.773 MB / 3.879 GB, free: 51.26 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/11.78, allocations: 3.688 kB / 3.879 GB, free: 51.26 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002154/11.78, allocations: 0.8448 MB / 3.88 GB, free: 50.98 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01303/11.79, allocations: 2.169 MB / 3.882 GB, free: 50.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01742/11.81, allocations: 5.698 MB / 3.887 GB, free: 48.22 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005034/11.82, allocations: 2.697 MB / 3.89 GB, free: 47.15 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0131/11.83, allocations: 2.223 MB / 3.892 GB, free: 46.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009982/11.83, allocations: 248.7 kB / 3.892 GB, free: 46.88 MB / 1.01 GB Notification: Performance of SimCode: time 1.112e-06/11.83, allocations: 3.938 kB / 3.892 GB, free: 46.88 MB / 1.01 GB Notification: Performance of Templates: time 1.099/12.93, allocations: 119.1 MB / 4.009 GB, free: 116.6 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)