Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Examples.MoverStages.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverStages,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.12/2.12, allocations: 251 MB / 265.9 MB, free: 11.68 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.001573/0.001573, allocations: 187.6 kB / 325.5 MB, free: 2.891 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.305/2.305, allocations: 205.4 MB / 0.5764 GB, free: 20.8 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.001217/0.001216, allocations: 97.48 kB / 0.6809 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.0004818, allocations: 11.72 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2431, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.256/1.499, allocations: 438.4 MB / 1.327 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/1.5, allocations: 100.5 kB / 1.327 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 12.92/14.42, allocations: 2.273 GB / 3.6 GB, free: 94.85 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.705e-06/14.42, allocations: 0.8125 kB / 3.6 GB, free: 94.85 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0009874/14.42, allocations: 112.9 kB / 3.6 GB, free: 94.84 MB / 0.9323 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.03661/14.45, allocations: 7.828 MB / 3.608 GB, free: 92.42 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/14.45, allocations: 10.53 kB / 3.608 GB, free: 92.42 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001549/14.46, allocations: 286.1 kB / 3.608 GB, free: 92.38 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/14.47, allocations: 1.19 MB / 3.61 GB, free: 92.09 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1003/14.57, allocations: 30.62 MB / 3.639 GB, free: 90.29 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003645/14.57, allocations: 180.9 kB / 3.64 GB, free: 90.28 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001224/14.57, allocations: 240.7 kB / 3.64 GB, free: 90.28 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009475/14.58, allocations: 2.91 MB / 3.643 GB, free: 89.89 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.846e-05/14.58, allocations: 4.562 kB / 3.643 GB, free: 89.89 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004577/14.58, allocations: 85.88 kB / 3.643 GB, free: 89.89 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.847e-05/14.58, allocations: 49.78 kB / 3.643 GB, free: 89.89 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009169/14.59, allocations: 2.119 MB / 3.645 GB, free: 89.87 MB / 0.9323 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.03407/14.62, allocations: 13.25 MB / 3.658 GB, free: 85.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007454/14.63, allocations: 1.631 MB / 3.659 GB, free: 85.16 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01306/14.64, allocations: 5.225 MB / 3.665 GB, free: 83.26 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003935/14.65, allocations: 1.219 MB / 3.666 GB, free: 83.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002791/14.65, allocations: 237.8 kB / 3.666 GB, free: 83.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=92): time 7.174e-06/14.65, allocations: 0.5938 kB / 3.666 GB, free: 83.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=92): time 0.02022/14.67, allocations: 3.449 MB / 3.669 GB, free: 82.38 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.636e-05/14.67, allocations: 118.4 kB / 3.669 GB, free: 82.25 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01532/14.69, allocations: 5.261 MB / 3.675 GB, free: 81.91 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0007846/14.69, allocations: 64.42 kB / 3.675 GB, free: 81.88 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.003927/14.69, allocations: 2.14 MB / 3.677 GB, free: 81.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008165/14.69, allocations: 321.4 kB / 3.677 GB, free: 81.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003195/14.69, allocations: 38.12 kB / 3.677 GB, free: 81.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002283/14.69, allocations: 385.2 kB / 3.677 GB, free: 80.89 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003795/14.7, allocations: 0.8708 MB / 3.678 GB, free: 80.88 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004751/14.7, allocations: 1.92 MB / 3.68 GB, free: 79.58 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004417/14.71, allocations: 1.08 MB / 3.681 GB, free: 79.55 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-05/14.71, allocations: 7.875 kB / 3.681 GB, free: 79.55 MB / 0.9323 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.01335/14.72, allocations: 3.204 MB / 3.684 GB, free: 79.22 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.003169/14.72, allocations: 13.76 MB / 3.698 GB, free: 64.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001212/14.72, allocations: 29.5 kB / 3.698 GB, free: 64.73 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002108/14.73, allocations: 393.2 kB / 3.698 GB, free: 64.69 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005838/14.73, allocations: 0.5469 MB / 3.699 GB, free: 64.69 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005866/14.74, allocations: 5.266 MB / 3.704 GB, free: 60.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006064/14.74, allocations: 186.9 kB / 3.704 GB, free: 60.23 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009762/14.74, allocations: 214.5 kB / 3.704 GB, free: 60.23 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/14.74, allocations: 2.781 kB / 3.704 GB, free: 60.23 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01022/14.75, allocations: 2.899 MB / 3.707 GB, free: 60.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001267/14.75, allocations: 30.78 kB / 3.707 GB, free: 60.14 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001888/14.76, allocations: 396.2 kB / 3.707 GB, free: 60.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004353/14.76, allocations: 0.5922 MB / 3.708 GB, free: 60.09 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003014/14.76, allocations: 2.565 MB / 3.711 GB, free: 58 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005347/14.77, allocations: 180.7 kB / 3.711 GB, free: 57.98 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008936/14.77, allocations: 207.9 kB / 3.711 GB, free: 57.98 MB / 0.9323 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.004212/14.77, allocations: 1.174 MB / 3.712 GB, free: 57.74 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001656/14.78, allocations: 431.6 kB / 3.712 GB, free: 57.51 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/14.79, allocations: 2.771 MB / 3.715 GB, free: 57.27 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-05/14.79, allocations: 18 kB / 3.715 GB, free: 57.26 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/14.79, allocations: 0 / 3.715 GB, free: 57.26 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.739e-05/14.79, allocations: 3.656 kB / 3.715 GB, free: 57.26 MB / 0.9323 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.0237/14.81, allocations: 6.118 MB / 3.721 GB, free: 56.71 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.221e-05/14.81, allocations: 2.719 kB / 3.721 GB, free: 56.71 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002349/14.82, allocations: 226.2 kB / 3.721 GB, free: 56.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002105/14.82, allocations: 409.3 kB / 3.722 GB, free: 56.64 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003549/14.82, allocations: 49.48 kB / 3.722 GB, free: 56.64 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004637/14.82, allocations: 4.957 MB / 3.727 GB, free: 52.33 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/14.82, allocations: 10.58 kB / 3.727 GB, free: 52.33 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/14.83, allocations: 2.608 MB / 3.729 GB, free: 51.65 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003707/14.84, allocations: 0.9422 MB / 3.73 GB, free: 51.31 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001721/14.84, allocations: 28.3 kB / 3.73 GB, free: 51.31 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004854/14.84, allocations: 160.8 kB / 3.73 GB, free: 51.29 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004737/14.85, allocations: 90.95 kB / 3.73 GB, free: 51.28 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003079/14.85, allocations: 76.78 kB / 3.731 GB, free: 51.28 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0109/14.86, allocations: 4.006 MB / 3.734 GB, free: 51.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.32e-07/14.86, allocations: 0 / 3.734 GB, free: 51.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01091/14.87, allocations: 1.954 MB / 3.736 GB, free: 50.88 MB / 0.9323 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.01653/14.88, allocations: 5.586 MB / 3.742 GB, free: 48.57 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01526/14.9, allocations: 3.866 MB / 3.746 GB, free: 47.35 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/14.9, allocations: 0 / 3.746 GB, free: 47.35 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00436/14.9, allocations: 0.9287 MB / 3.746 GB, free: 47.08 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01599/14.92, allocations: 2.168 MB / 3.749 GB, free: 46.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03716/14.96, allocations: 30.78 MB / 3.779 GB, free: 35.93 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006085/14.96, allocations: 2.691 MB / 3.781 GB, free: 34.87 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.009907/14.97, allocations: 1.218 MB / 3.782 GB, free: 34.68 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005216/14.98, allocations: 1.934 MB / 3.784 GB, free: 33.21 MB / 0.948 GB Notification: Performance of SimCode: time 2.305e-06/14.98, allocations: 0 / 3.784 GB, free: 33.21 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.158/16.14, allocations: 149 MB / 3.93 GB, free: 102.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002835/16.14, allocations: 245.3 kB / 3.93 GB, free: 102.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.912/26.05, allocations: 4 kB / 3.93 GB, free: 102.2 MB / 0.948 GB