Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages") translateModel(Buildings.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.768/1.768, allocations: 297.8 MB / 313.7 MB, free: 160 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 171.7 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.637/1.637, allocations: 223.2 MB / 0.6626 GB, free: 4.195 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009921/0.0009919, allocations: 103.9 kB / 0.7808 GB, free: 50.38 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004565/0.0004566, allocations: 12 kB / 0.9088 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8899/0.8904, allocations: 120.3 MB / 1.026 GB, free: 55.81 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.113/2.003, allocations: 436.8 MB / 1.453 GB, free: 242.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/2.004, allocations: 104.9 kB / 1.453 GB, free: 242.8 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 8.235/10.24, allocations: 2.364 GB / 3.817 GB, free: 95.71 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.326e-06/10.24, allocations: 0 / 3.817 GB, free: 95.71 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.000996/10.24, allocations: 109.5 kB / 3.817 GB, free: 95.7 MB / 1.042 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.02445/10.26, allocations: 7.787 MB / 3.825 GB, free: 93.25 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/10.26, allocations: 9.938 kB / 3.825 GB, free: 93.25 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007481/10.27, allocations: 1.189 MB / 3.826 GB, free: 92.97 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06519/10.34, allocations: 30.39 MB / 3.856 GB, free: 90.98 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003168/10.34, allocations: 184.9 kB / 3.856 GB, free: 90.98 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001225/10.34, allocations: 241.2 kB / 3.856 GB, free: 90.98 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008573/10.35, allocations: 2.909 MB / 3.859 GB, free: 90.58 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/10.35, allocations: 10.03 kB / 3.859 GB, free: 90.58 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007873/10.35, allocations: 85.47 kB / 3.859 GB, free: 90.58 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-05/10.35, allocations: 52.56 kB / 3.859 GB, free: 90.58 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005678/10.35, allocations: 2.12 MB / 3.861 GB, free: 90.56 MB / 1.042 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.02666/10.38, allocations: 13.18 MB / 3.874 GB, free: 85.89 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004251/10.38, allocations: 1.633 MB / 3.876 GB, free: 85.84 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/10.39, allocations: 0.714 MB / 3.876 GB, free: 85.83 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009204/10.4, allocations: 5.194 MB / 3.882 GB, free: 83.93 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002108/10.4, allocations: 1.22 MB / 3.883 GB, free: 83.87 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002665/10.4, allocations: 226.2 kB / 3.883 GB, free: 83.78 MB / 1.042 GB Notification: Performance of pre-optimization done (n=92): time 8.827e-06/10.4, allocations: 0 / 3.883 GB, free: 83.78 MB / 1.042 GB Notification: Performance of matching and sorting (n=92): time 0.01072/10.41, allocations: 3.447 MB / 3.886 GB, free: 83.07 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/10.41, allocations: 120.4 kB / 3.886 GB, free: 82.95 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0111/10.42, allocations: 5.773 MB / 3.892 GB, free: 82.57 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0008058/10.42, allocations: 61.62 kB / 3.892 GB, free: 82.54 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.002296/10.43, allocations: 2.144 MB / 3.894 GB, free: 82.07 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007211/10.43, allocations: 320.9 kB / 3.894 GB, free: 81.87 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/10.43, allocations: 37.38 kB / 3.895 GB, free: 81.87 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001354/10.43, allocations: 387.8 kB / 3.895 GB, free: 81.56 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001822/10.43, allocations: 0.868 MB / 3.896 GB, free: 81.55 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002226/10.43, allocations: 1.94 MB / 3.898 GB, free: 80.24 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003934/10.43, allocations: 2.664 MB / 3.9 GB, free: 79.19 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.49e-05/10.43, allocations: 10.19 kB / 3.9 GB, free: 79.19 MB / 1.042 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007002/10.44, allocations: 3.208 MB / 3.903 GB, free: 78.38 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000574/10.44, allocations: 0.9625 MB / 3.904 GB, free: 77.11 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.609e-05/10.44, allocations: 30.94 kB / 3.904 GB, free: 77.11 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/10.44, allocations: 384.5 kB / 3.905 GB, free: 77 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002754/10.45, allocations: 0.5499 MB / 3.905 GB, free: 76.98 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003514/10.45, allocations: 5.266 MB / 3.91 GB, free: 72.21 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00442/10.45, allocations: 184.9 kB / 3.911 GB, free: 72.17 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005166/10.45, allocations: 214 kB / 3.911 GB, free: 72.15 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/10.45, allocations: 3.781 kB / 3.911 GB, free: 72.15 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005339/10.46, allocations: 2.903 MB / 3.914 GB, free: 71.04 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.579e-05/10.46, allocations: 33.67 kB / 3.914 GB, free: 71.04 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/10.46, allocations: 385.5 kB / 3.914 GB, free: 70.93 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/10.46, allocations: 0.587 MB / 3.915 GB, free: 70.87 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/10.47, allocations: 2.57 MB / 3.917 GB, free: 68.58 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004242/10.47, allocations: 185.9 kB / 3.917 GB, free: 68.53 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004499/10.47, allocations: 205.6 kB / 3.917 GB, free: 68.51 MB / 1.042 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.003565/10.47, allocations: 1.178 MB / 3.919 GB, free: 67.82 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001355/10.47, allocations: 431.6 kB / 3.919 GB, free: 67.59 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007286/10.48, allocations: 2.766 MB / 3.922 GB, free: 66.62 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/10.48, allocations: 11.34 kB / 3.922 GB, free: 66.62 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/10.48, allocations: 7 kB / 3.922 GB, free: 66.62 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/10.48, allocations: 7.312 kB / 3.922 GB, free: 66.62 MB / 1.042 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.01385/10.5, allocations: 6.104 MB / 3.928 GB, free: 64.08 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/10.5, allocations: 3.875 kB / 3.928 GB, free: 64.08 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/10.5, allocations: 218.7 kB / 3.928 GB, free: 64.06 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/10.5, allocations: 417.1 kB / 3.928 GB, free: 63.92 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/10.5, allocations: 43.72 kB / 3.928 GB, free: 63.9 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00298/10.5, allocations: 4.955 MB / 3.933 GB, free: 59.3 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/10.5, allocations: 2.781 kB / 3.933 GB, free: 59.3 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006108/10.51, allocations: 2.482 MB / 3.936 GB, free: 58.2 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003131/10.51, allocations: 0.9362 MB / 3.937 GB, free: 57.61 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001303/10.51, allocations: 22.44 kB / 3.937 GB, free: 57.59 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002363/10.51, allocations: 163.4 kB / 3.937 GB, free: 57.55 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/10.51, allocations: 85.48 kB / 3.937 GB, free: 57.54 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001666/10.51, allocations: 85.98 kB / 3.937 GB, free: 57.53 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.007097/10.52, allocations: 3.959 MB / 3.941 GB, free: 55.98 MB / 1.042 GB Notification: Performance of sort global known variables: time 6.42e-07/10.52, allocations: 0 / 3.941 GB, free: 55.98 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.008489/10.53, allocations: 1.961 MB / 3.943 GB, free: 55.59 MB / 1.042 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.004149/10.53, allocations: 2.371 MB / 3.945 GB, free: 54.79 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.008456/10.54, allocations: 3.849 MB / 3.949 GB, free: 53.57 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/10.54, allocations: 3.656 kB / 3.949 GB, free: 53.57 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.002205/10.55, allocations: 0.9451 MB / 3.95 GB, free: 53.28 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01199/10.56, allocations: 2.124 MB / 3.952 GB, free: 52.84 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/10.57, allocations: 8.345 MB / 3.96 GB, free: 48.43 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003096/10.58, allocations: 2.609 MB / 3.962 GB, free: 47.37 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.006959/10.58, allocations: 1.217 MB / 3.964 GB, free: 47.17 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/10.59, allocations: 370.1 kB / 3.964 GB, free: 47.15 MB / 1.042 GB Notification: Performance of SimCode: time 2.324e-06/10.59, allocations: 0 / 3.964 GB, free: 47.15 MB / 1.042 GB Notification: Performance of Templates: time 0.877/11.46, allocations: 107 MB / 4.069 GB, free: 115.3 MB / 1.057 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages.sim & ./Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1)