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.0009931/0.0009931, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008391/0.008391, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.78/1.78, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005823/0.0005824, allocations: 17.09 kB / 0.6743 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2852, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverStages): time 0.1089/0.3941, allocations: 93.02 MB / 0.8787 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.6241/1.018, allocations: 33.5 MB / 0.9114 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0105/1.029, allocations: 135.1 kB / 0.9116 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.009095/1.038, allocations: 1.739 MB / 0.9133 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01927/1.057, allocations: 4.202 MB / 0.9174 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01507/1.072, allocations: 3.406 MB / 0.9207 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.02773/1.1, allocations: 11.93 MB / 0.9323 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01008/1.11, allocations: 2.894 MB / 0.9352 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01183/1.122, allocations: 3.183 MB / 0.9383 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008286/1.13, allocations: 2.808 MB / 0.941 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002326/1.133, allocations: 162.6 kB / 0.9412 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00936/1.142, allocations: 2.454 MB / 0.9436 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.003575/1.146, allocations: 1.415 MB / 0.9449 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.009378/1.155, allocations: 2.317 MB / 0.9472 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01588/1.171, allocations: 7.532 MB / 0.9546 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.171, allocations: 3.984 kB / 0.9546 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.196e-06/1.171, allocations: 1.438 kB / 0.9546 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002918/1.171, allocations: 0 / 0.9546 GB, free: 3.906 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.01341/1.185, allocations: 5.223 MB / 0.9597 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/1.185, allocations: 9.375 kB / 0.9597 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007342/1.192, allocations: 1.33 MB / 0.961 GB, free: 136 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01501/1.207, allocations: 5.2 MB / 0.9661 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008886/1.208, allocations: 316.8 kB / 0.9664 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001139/1.209, allocations: 230.7 kB / 0.9666 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008231/1.218, allocations: 3.095 MB / 0.9696 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.167e-05/1.218, allocations: 9.891 kB / 0.9696 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000516/1.218, allocations: 86.44 kB / 0.9697 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.252e-05/1.218, allocations: 50.53 kB / 0.9697 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006377/1.225, allocations: 2.347 MB / 0.972 GB, free: 12.86 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.02618/1.251, allocations: 12.5 MB / 0.9842 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005327/1.256, allocations: 1.878 MB / 0.9861 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002112/1.258, allocations: 0.8506 MB / 0.9869 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008892/1.267, allocations: 4.494 MB / 0.9913 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002856/1.27, allocations: 1.409 MB / 0.9927 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002177/1.272, allocations: 209.6 kB / 0.9929 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=87): time 6.102e-06/1.272, allocations: 3.938 kB / 0.9929 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of matching and sorting (n=87): time 0.007467/1.28, allocations: 2.793 MB / 0.9956 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/1.28, allocations: 110.9 kB / 0.9957 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009712/1.29, allocations: 4.93 MB / 1.001 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0005291/1.29, allocations: 57.7 kB / 1.001 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002539/1.293, allocations: 2.107 MB / 1.003 GB, free: 7.844 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006193/1.294, allocations: 302.4 kB / 1.003 GB, free: 7.551 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005544/1.294, allocations: 208.7 kB / 1.003 GB, free: 7.344 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.294, allocations: 305.1 kB / 1.003 GB, free: 7.043 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00371/1.298, allocations: 1.62 MB / 1.005 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004001/1.302, allocations: 2.581 MB / 1.008 GB, free: 2.383 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007474/1.309, allocations: 4.127 MB / 1.012 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.303e-05/1.309, allocations: 8 kB / 1.012 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01043/1.32, allocations: 4.513 MB / 1.016 GB, free: 9.352 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008083/1.321, allocations: 0.9281 MB / 1.017 GB, free: 8.035 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.634e-05/1.321, allocations: 28 kB / 1.017 GB, free: 8.008 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.796e-05/1.321, allocations: 43.94 kB / 1.017 GB, free: 7.965 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003703/1.325, allocations: 0.6045 MB / 1.018 GB, free: 7.359 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002727/1.327, allocations: 2.986 MB / 1.02 GB, free: 4.281 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004405/1.332, allocations: 212.6 kB / 1.021 GB, free: 4.074 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006283/1.332, allocations: 179.9 kB / 1.021 GB, free: 3.898 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/1.332, allocations: 11.06 kB / 1.021 GB, free: 3.891 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007754/1.34, allocations: 3.491 MB / 1.024 GB, free: 416 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000119/1.34, allocations: 28 kB / 1.024 GB, free: 388 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.231e-05/1.34, allocations: 43.98 kB / 1.024 GB, free: 344 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002889/1.343, allocations: 0.6249 MB / 1.025 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.018e-05/1.343, allocations: 59.78 kB / 1.025 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00377/1.347, allocations: 200.4 kB / 1.025 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004591/1.348, allocations: 180.5 kB / 1.025 GB, free: 15.28 MB / 0.7794 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 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y) * 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003103/1.351, allocations: 1.165 MB / 1.026 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001208/1.352, allocations: 430.3 kB / 1.027 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007389/1.359, allocations: 2.689 MB / 1.03 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.759e-05/1.36, allocations: 12 kB / 1.03 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/1.36, allocations: 3.984 kB / 1.03 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/1.36, allocations: 3.984 kB / 1.03 GB, free: 10.98 MB / 0.7794 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.01517/1.375, allocations: 5.278 MB / 1.035 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/1.375, allocations: 4 kB / 1.035 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/1.376, allocations: 283.7 kB / 1.035 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004394/1.377, allocations: 141.7 kB / 1.035 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001568/1.377, allocations: 43.95 kB / 1.035 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/1.379, allocations: 2.675 MB / 1.038 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.379, allocations: 3.938 kB / 1.038 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006319/1.385, allocations: 2.461 MB / 1.04 GB, free: 15.96 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002237/1.388, allocations: 0.6904 MB / 1.041 GB, free: 15.24 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001413/1.389, allocations: 20 kB / 1.041 GB, free: 15.22 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003144/1.392, allocations: 187.7 kB / 1.041 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002362/1.392, allocations: 80.88 kB / 1.041 GB, free: 14.96 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002085/1.393, allocations: 71.94 kB / 1.041 GB, free: 14.89 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.008261/1.401, allocations: 3.368 MB / 1.044 GB, free: 11.54 MB / 0.795 GB Notification: Performance of sort global known variables: time 7.01e-07/1.401, allocations: 0 / 1.044 GB, free: 11.54 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01002/1.411, allocations: 1.742 MB / 1.046 GB, free: 9.801 MB / 0.795 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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00405/1.415, allocations: 0.9403 MB / 1.047 GB, free: 9.059 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01446/1.43, allocations: 5.086 MB / 1.052 GB, free: 4.004 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/1.43, allocations: 0 / 1.052 GB, free: 4.004 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003116/1.433, allocations: 1.033 MB / 1.053 GB, free: 2.973 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01438/1.447, allocations: 2.149 MB / 1.055 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01838/1.466, allocations: 8.841 MB / 1.064 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005091/1.471, allocations: 2.604 MB / 1.066 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.007736/1.479, allocations: 1.137 MB / 1.067 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001323/1.48, allocations: 315.3 kB / 1.068 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of SimCode: time 1.312e-06/1.48, allocations: 0 / 1.068 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of Templates: time 0.1681/1.648, allocations: 89.01 MB / 1.155 GB, free: 11.93 MB / 0.9044 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: