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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 86.25 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005082/0.0005084, allocations: 13.31 kB / 0.6737 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2286, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverStages): time 0.08171/0.3104, allocations: 87.83 MB / 0.873 GB, free: 3.855 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04254/0.3529, allocations: 31.48 MB / 0.9038 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006606/0.3596, allocations: 127.1 kB / 0.9039 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005817/0.3654, allocations: 1.378 MB / 0.9053 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.4622/0.8277, allocations: 3.634 MB / 0.9088 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007987/0.8357, allocations: 2.86 MB / 0.9116 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01499/0.8507, allocations: 10.19 MB / 0.9215 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005734/0.8565, allocations: 2.621 MB / 0.9241 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008375/0.8649, allocations: 3.089 MB / 0.9271 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006095/0.871, allocations: 2.734 MB / 0.9298 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008079/0.8718, allocations: 166 kB / 0.93 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005489/0.8773, allocations: 1.879 MB / 0.9318 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001527/0.8789, allocations: 1.413 MB / 0.9332 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001972/0.8808, allocations: 0.9785 MB / 0.9341 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007339/0.8882, allocations: 5.981 MB / 0.94 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.8882, allocations: 0 / 0.94 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8882, allocations: 2.875 kB / 0.94 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001427/0.8884, allocations: 0 / 0.94 GB, free: 13.45 MB / 0.7169 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.011/0.8994, allocations: 5.283 MB / 0.9451 GB, free: 27.01 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.8994, allocations: 9.688 kB / 0.9451 GB, free: 27.01 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005726/0.9052, allocations: 1.331 MB / 0.9464 GB, free: 26.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009443/0.9146, allocations: 5.006 MB / 0.9513 GB, free: 25.9 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000635/0.9153, allocations: 326.8 kB / 0.9516 GB, free: 25.88 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004658/0.9158, allocations: 233.2 kB / 0.9519 GB, free: 25.88 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005459/0.9212, allocations: 3.101 MB / 0.9549 GB, free: 25.53 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.621e-05/0.9213, allocations: 0 / 0.9549 GB, free: 25.53 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002025/0.9215, allocations: 87.97 kB / 0.955 GB, free: 25.53 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.413e-05/0.9215, allocations: 50.03 kB / 0.955 GB, free: 25.53 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004736/0.9263, allocations: 2.376 MB / 0.9573 GB, free: 25.18 MB / 0.7325 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.01707/0.9434, allocations: 12.56 MB / 0.9696 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003951/0.9473, allocations: 1.898 MB / 0.9715 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001644/0.949, allocations: 0.8691 MB / 0.9723 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006143/0.9551, allocations: 4.535 MB / 0.9767 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002183/0.9573, allocations: 1.434 MB / 0.9781 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001425/0.9588, allocations: 214.7 kB / 0.9783 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=87): time 2.785e-06/0.9588, allocations: 0 / 0.9783 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87): time 0.005528/0.9643, allocations: 2.836 MB / 0.9811 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.9644, allocations: 110.5 kB / 0.9812 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005712/0.9701, allocations: 4.903 MB / 0.986 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001982/0.9703, allocations: 56.27 kB / 0.9861 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00153/0.9719, allocations: 2.102 MB / 0.9881 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.9721, allocations: 301.4 kB / 0.9884 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.9723, allocations: 37.59 kB / 0.9884 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.9724, allocations: 386.1 kB / 0.9888 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002135/0.9746, allocations: 1.134 MB / 0.9899 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002454/0.977, allocations: 2.12 MB / 0.992 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002169/0.9792, allocations: 1.32 MB / 0.9933 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/0.9792, allocations: 12.34 kB / 0.9933 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.006624/0.9859, allocations: 3.527 MB / 0.9967 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006477/0.9865, allocations: 0.9315 MB / 0.9976 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.671e-05/0.9866, allocations: 29.17 kB / 0.9977 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.766e-05/0.9866, allocations: 40 kB / 0.9977 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003187/0.9898, allocations: 0.6123 MB / 0.9983 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/0.9923, allocations: 2.995 MB / 1.001 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003415/0.9957, allocations: 236.8 kB / 1.001 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003088/0.996, allocations: 181.5 kB / 1.002 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.996, allocations: 4 kB / 1.002 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005427/1.001, allocations: 3.475 MB / 1.005 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.266e-05/1.002, allocations: 28 kB / 1.005 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.07e-05/1.002, allocations: 44 kB / 1.005 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002491/1.004, allocations: 0.6388 MB / 1.006 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.051e-05/1.004, allocations: 55.03 kB / 1.006 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003209/1.007, allocations: 208.5 kB / 1.006 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003329/1.008, allocations: 183.6 kB / 1.006 GB, free: 14.95 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 127 * 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 (226): * Single equations (assignments): 218 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.002491/1.01, allocations: 1.158 MB / 1.007 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009299/1.011, allocations: 430.3 kB / 1.008 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005755/1.017, allocations: 2.723 MB / 1.01 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/1.017, allocations: 14.73 kB / 1.01 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.017, allocations: 4 kB / 1.01 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/1.017, allocations: 7.969 kB / 1.01 GB, free: 11.8 MB / 0.7481 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.01033/1.027, allocations: 5.333 MB / 1.016 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/1.027, allocations: 0 / 1.016 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/1.029, allocations: 290.7 kB / 1.016 GB, free: 7.781 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003343/1.029, allocations: 146.4 kB / 1.016 GB, free: 7.672 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.611e-05/1.029, allocations: 44.64 kB / 1.016 GB, free: 7.645 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/1.031, allocations: 2.673 MB / 1.019 GB, free: 5.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/1.031, allocations: 6.578 kB / 1.019 GB, free: 5.066 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004933/1.036, allocations: 2.477 MB / 1.021 GB, free: 3.125 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001778/1.038, allocations: 0.6902 MB / 1.022 GB, free: 2.543 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005554/1.038, allocations: 20.56 kB / 1.022 GB, free: 2.535 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001821/1.04, allocations: 199.5 kB / 1.022 GB, free: 2.355 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/1.04, allocations: 87.77 kB / 1.022 GB, free: 2.281 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/1.04, allocations: 69.53 kB / 1.022 GB, free: 2.223 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.004957/1.045, allocations: 3.34 MB / 1.025 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.1e-07/1.045, allocations: 0 / 1.025 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.006435/1.052, allocations: 1.753 MB / 1.027 GB, free: 14.19 MB / 0.7637 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 (110): * Single equations (assignments): 94 * 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: 2 * 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: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00224/1.054, allocations: 0.912 MB / 1.028 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01104/1.065, allocations: 4.612 MB / 1.032 GB, free: 8.961 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/1.065, allocations: 3.938 kB / 1.032 GB, free: 8.957 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002565/1.068, allocations: 1.042 MB / 1.033 GB, free: 7.918 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01004/1.078, allocations: 2.191 MB / 1.036 GB, free: 5.746 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01417/1.092, allocations: 8.524 MB / 1.044 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002173/1.094, allocations: 2.597 MB / 1.046 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.005361/1.099, allocations: 1.134 MB / 1.048 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008281/1.1, allocations: 315.3 kB / 1.048 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of SimCode: time 1.243e-06/1.1, allocations: 0 / 1.048 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of Templates: time 0.1435/1.244, allocations: 87.39 MB / 1.133 GB, free: 2.828 MB / 0.8575 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: