Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages") translateModel(Buildings.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.369/1.369, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 175.8 kB / 327.5 MB, free: 2.152 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205.4 MB / 0.5785 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 87.86 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003913, allocations: 13.03 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.218, allocations: 106.3 MB / 0.9012 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8353/1.053, allocations: 438.8 MB / 1.33 GB, free: 9.551 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/1.054, allocations: 98.45 kB / 1.33 GB, free: 9.5 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.119/8.172, allocations: 2.261 GB / 3.59 GB, free: 101 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.403e-06/8.172, allocations: 0 / 3.59 GB, free: 101 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008723/8.173, allocations: 116.8 kB / 3.591 GB, free: 101 MB / 0.948 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.0222/8.195, allocations: 7.765 MB / 3.598 GB, free: 98.74 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/8.196, allocations: 11.75 kB / 3.598 GB, free: 98.74 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006704/8.202, allocations: 1.181 MB / 3.599 GB, free: 98.46 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05369/8.256, allocations: 29.32 MB / 3.628 GB, free: 96.48 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/8.256, allocations: 186.1 kB / 3.628 GB, free: 96.47 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007918/8.257, allocations: 238.5 kB / 3.628 GB, free: 96.47 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006111/8.263, allocations: 2.907 MB / 3.631 GB, free: 96.09 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.757e-05/8.263, allocations: 7.375 kB / 3.631 GB, free: 96.08 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003462/8.264, allocations: 89.38 kB / 3.631 GB, free: 96.08 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-05/8.264, allocations: 51.84 kB / 3.631 GB, free: 96.08 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004464/8.268, allocations: 2.118 MB / 3.633 GB, free: 96.06 MB / 0.948 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.01922/8.287, allocations: 13.17 MB / 3.646 GB, free: 91.39 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003551/8.291, allocations: 1.631 MB / 3.648 GB, free: 91.35 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/8.292, allocations: 0.7252 MB / 3.649 GB, free: 91.34 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00789/8.3, allocations: 5.169 MB / 3.654 GB, free: 89.44 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00188/8.302, allocations: 1.225 MB / 3.655 GB, free: 89.37 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001832/8.304, allocations: 224.9 kB / 3.655 GB, free: 89.28 MB / 0.948 GB Notification: Performance of pre-optimization done (n=92): time 6.593e-06/8.304, allocations: 0 / 3.655 GB, free: 89.28 MB / 0.948 GB Notification: Performance of matching and sorting (n=92): time 0.009518/8.314, allocations: 3.452 MB / 3.658 GB, free: 88.57 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/8.314, allocations: 111.1 kB / 3.659 GB, free: 88.45 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01014/8.324, allocations: 5.769 MB / 3.664 GB, free: 88.08 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003426/8.324, allocations: 62.08 kB / 3.664 GB, free: 88.05 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002034/8.326, allocations: 2.131 MB / 3.666 GB, free: 87.57 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003882/8.327, allocations: 328.6 kB / 3.667 GB, free: 87.37 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/8.327, allocations: 37.59 kB / 3.667 GB, free: 87.37 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001331/8.327, allocations: 389.1 kB / 3.667 GB, free: 87.06 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001772/8.329, allocations: 0.866 MB / 3.668 GB, free: 87.06 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002166/8.331, allocations: 1.938 MB / 3.67 GB, free: 85.75 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003766/8.335, allocations: 2.67 MB / 3.672 GB, free: 84.68 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.958e-05/8.335, allocations: 11.44 kB / 3.672 GB, free: 84.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006283/8.341, allocations: 3.199 MB / 3.675 GB, free: 84.36 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000705/8.342, allocations: 0.9571 MB / 3.676 GB, free: 83.22 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-05/8.342, allocations: 29.53 kB / 3.676 GB, free: 83.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/8.343, allocations: 391.8 kB / 3.677 GB, free: 83.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002544/8.345, allocations: 0.5487 MB / 3.677 GB, free: 83.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00309/8.349, allocations: 5.258 MB / 3.682 GB, free: 78.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/8.352, allocations: 190.3 kB / 3.683 GB, free: 78.76 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003486/8.352, allocations: 219 kB / 3.683 GB, free: 78.76 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/8.352, allocations: 5.156 kB / 3.683 GB, free: 78.76 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004702/8.357, allocations: 2.901 MB / 3.686 GB, free: 78.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.431e-05/8.357, allocations: 29.25 kB / 3.686 GB, free: 78.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000953/8.358, allocations: 386.8 kB / 3.686 GB, free: 78.67 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/8.36, allocations: 0.5871 MB / 3.687 GB, free: 78.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/8.361, allocations: 2.568 MB / 3.689 GB, free: 76.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002852/8.364, allocations: 174.2 kB / 3.689 GB, free: 76.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003152/8.364, allocations: 205.5 kB / 3.69 GB, free: 76.59 MB / 0.948 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.002489/8.367, allocations: 1.185 MB / 3.691 GB, free: 76.38 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009816/8.368, allocations: 432.4 kB / 3.691 GB, free: 76.14 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006607/8.375, allocations: 2.77 MB / 3.694 GB, free: 75.96 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.126e-05/8.375, allocations: 9.875 kB / 3.694 GB, free: 75.96 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/8.375, allocations: 5.172 kB / 3.694 GB, free: 75.96 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/8.375, allocations: 8.531 kB / 3.694 GB, free: 75.96 MB / 0.948 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.01353/8.388, allocations: 6.076 MB / 3.7 GB, free: 75.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/8.388, allocations: 5.562 kB / 3.7 GB, free: 75.44 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/8.389, allocations: 226.8 kB / 3.7 GB, free: 75.44 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001187/8.39, allocations: 409.7 kB / 3.7 GB, free: 75.39 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/8.391, allocations: 44.55 kB / 3.7 GB, free: 75.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00264/8.393, allocations: 4.961 MB / 3.705 GB, free: 71.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/8.393, allocations: 0 / 3.705 GB, free: 71.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005391/8.399, allocations: 2.485 MB / 3.708 GB, free: 70.59 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00228/8.401, allocations: 0.9367 MB / 3.709 GB, free: 70.24 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00125/8.402, allocations: 26.7 kB / 3.709 GB, free: 70.24 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002566/8.405, allocations: 161.2 kB / 3.709 GB, free: 70.23 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/8.405, allocations: 85.66 kB / 3.709 GB, free: 70.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/8.405, allocations: 79.39 kB / 3.709 GB, free: 70.23 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007334/8.413, allocations: 3.958 MB / 3.713 GB, free: 70.05 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.11e-07/8.413, allocations: 0 / 3.713 GB, free: 70.05 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009627/8.422, allocations: 1.919 MB / 3.715 GB, free: 69.84 MB / 0.948 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.005455/8.428, allocations: 2.356 MB / 3.717 GB, free: 69.24 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009108/8.437, allocations: 3.845 MB / 3.721 GB, free: 69.07 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/8.437, allocations: 0 / 3.721 GB, free: 69.07 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002217/8.439, allocations: 0.9464 MB / 3.722 GB, free: 69.03 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01086/8.45, allocations: 2.126 MB / 3.724 GB, free: 68.89 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/8.464, allocations: 8.334 MB / 3.732 GB, free: 65.32 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003266/8.467, allocations: 2.604 MB / 3.734 GB, free: 64.51 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006091/8.473, allocations: 1.215 MB / 3.736 GB, free: 64.34 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001209/8.474, allocations: 359.9 kB / 3.736 GB, free: 64.33 MB / 0.948 GB Notification: Performance of SimCode: time 9.32e-07/8.474, allocations: 0 / 3.736 GB, free: 64.33 MB / 0.948 GB Notification: Performance of Templates: time 0.1396/8.614, allocations: 106.7 MB / 3.84 GB, free: 13.66 MB / 0.9636 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1)