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: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverStages,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverStages,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.455/1.455, allocations: 249.3 MB / 261.8 MB, free: 5.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009877/0.0009879, allocations: 174.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008987/0.0008986, allocations: 88.3 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.45e-05/3.454e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1976, allocations: 106.3 MB / 0.8919 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.412/1.61, allocations: 438.5 MB / 1.32 GB, free: 300.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/1.61, allocations: 93.7 kB / 1.32 GB, free: 300.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.348/9.957, allocations: 2.267 GB / 3.587 GB, free: 74.01 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.504e-06/9.957, allocations: 3.844 kB / 3.587 GB, free: 74.01 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001036/9.959, allocations: 108.1 kB / 3.587 GB, free: 73.99 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.01776/9.976, allocations: 4.033 MB / 3.591 GB, free: 71.15 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/9.976, allocations: 11.78 kB / 3.591 GB, free: 71.15 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001065/9.977, allocations: 286 kB / 3.591 GB, free: 70.93 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007722/9.985, allocations: 1.178 MB / 3.593 GB, free: 70.39 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06406/10.05, allocations: 30.45 MB / 3.622 GB, free: 48.02 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002176/10.05, allocations: 180.1 kB / 3.623 GB, free: 47.84 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006826/10.05, allocations: 239.9 kB / 3.623 GB, free: 47.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004522/10.05, allocations: 2.8 MB / 3.626 GB, free: 44.65 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/10.05, allocations: 0 / 3.626 GB, free: 44.65 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002263/10.06, allocations: 88.69 kB / 3.626 GB, free: 44.57 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/10.06, allocations: 52 kB / 3.626 GB, free: 44.52 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003089/10.06, allocations: 1.925 MB / 3.628 GB, free: 42.59 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.02256/10.08, allocations: 13.25 MB / 3.64 GB, free: 28.82 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002485/10.08, allocations: 1.448 MB / 3.642 GB, free: 27.37 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008078/10.08, allocations: 0.6279 MB / 3.642 GB, free: 26.74 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008265/10.09, allocations: 5.267 MB / 3.648 GB, free: 21.14 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001357/10.09, allocations: 1.134 MB / 3.649 GB, free: 20 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002237/10.1, allocations: 234 kB / 3.649 GB, free: 19.77 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=92): time 5.22e-06/10.1, allocations: 4 kB / 3.649 GB, free: 19.76 MB / 0.9323 GB Notification: Performance of matching and sorting (n=92): time 0.004886/10.1, allocations: 1.994 MB / 3.651 GB, free: 17.74 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/10.1, allocations: 119.6 kB / 3.651 GB, free: 17.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009917/10.11, allocations: 5.202 MB / 3.656 GB, free: 12.42 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0006724/10.11, allocations: 65.64 kB / 3.656 GB, free: 12.35 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001874/10.11, allocations: 2.141 MB / 3.658 GB, free: 10.19 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005659/10.11, allocations: 315.5 kB / 3.659 GB, free: 9.875 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/10.11, allocations: 39.98 kB / 3.659 GB, free: 9.836 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001275/10.11, allocations: 398 kB / 3.659 GB, free: 9.441 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/10.12, allocations: 0.7732 MB / 3.66 GB, free: 8.668 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/10.12, allocations: 1.83 MB / 3.662 GB, free: 6.332 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/10.12, allocations: 0.9984 MB / 3.663 GB, free: 5.332 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/10.12, allocations: 15.94 kB / 3.663 GB, free: 5.316 MB / 0.9323 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005245/10.12, allocations: 3.005 MB / 3.665 GB, free: 2.285 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.005249/10.13, allocations: 13.76 MB / 3.679 GB, free: 3.371 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.064e-05/10.13, allocations: 28 kB / 3.679 GB, free: 3.344 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/10.13, allocations: 352.9 kB / 3.679 GB, free: 3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003465/10.13, allocations: 0.5499 MB / 3.68 GB, free: 2.449 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7729/10.91, allocations: 5.205 MB / 3.685 GB, free: 100.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004643/10.91, allocations: 185.1 kB / 3.685 GB, free: 100.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008302/10.91, allocations: 217.8 kB / 3.685 GB, free: 100.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/10.91, allocations: 2.812 kB / 3.685 GB, free: 100.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005769/10.92, allocations: 2.734 MB / 3.688 GB, free: 100.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-05/10.92, allocations: 33.77 kB / 3.688 GB, free: 100.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/10.92, allocations: 360.5 kB / 3.688 GB, free: 100.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/10.92, allocations: 0.581 MB / 3.689 GB, free: 100.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/10.92, allocations: 2.53 MB / 3.691 GB, free: 98.35 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003996/10.93, allocations: 185.2 kB / 3.692 GB, free: 98.35 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000412/10.93, allocations: 204.9 kB / 3.692 GB, free: 98.35 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 () * 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.0008886/10.93, allocations: 247.2 kB / 3.692 GB, free: 98.24 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/10.93, allocations: 433.1 kB / 3.692 GB, free: 98.24 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006986/10.94, allocations: 2.583 MB / 3.695 GB, free: 98.09 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.245e-05/10.94, allocations: 12.25 kB / 3.695 GB, free: 98.09 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/10.94, allocations: 0 / 3.695 GB, free: 98.09 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/10.94, allocations: 12.17 kB / 3.695 GB, free: 98.09 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.01468/10.95, allocations: 5.922 MB / 3.701 GB, free: 97.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/10.95, allocations: 2.188 kB / 3.701 GB, free: 97.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/10.95, allocations: 217.8 kB / 3.701 GB, free: 97.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009562/10.95, allocations: 389.8 kB / 3.701 GB, free: 97.58 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/10.95, allocations: 43.62 kB / 3.701 GB, free: 97.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002652/10.96, allocations: 4.913 MB / 3.706 GB, free: 93.31 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/10.96, allocations: 6 kB / 3.706 GB, free: 93.31 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005627/10.96, allocations: 2.421 MB / 3.708 GB, free: 92.73 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003293/10.97, allocations: 0.9467 MB / 3.709 GB, free: 92.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/10.97, allocations: 22.94 kB / 3.709 GB, free: 92.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002095/10.97, allocations: 165.5 kB / 3.71 GB, free: 92.39 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002335/10.97, allocations: 84.16 kB / 3.71 GB, free: 92.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001908/10.97, allocations: 84.39 kB / 3.71 GB, free: 92.39 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.008892/10.98, allocations: 3.948 MB / 3.714 GB, free: 92.19 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.22e-07/10.98, allocations: 1.875 kB / 3.714 GB, free: 92.19 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01123/10.99, allocations: 1.953 MB / 3.716 GB, free: 92.11 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) * 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.01109/11, allocations: 5.347 MB / 3.721 GB, free: 90.34 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009871/11.01, allocations: 3.781 MB / 3.724 GB, free: 90.29 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/11.01, allocations: 0 / 3.724 GB, free: 90.29 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001889/11.01, allocations: 0.8491 MB / 3.725 GB, free: 90.29 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01302/11.03, allocations: 2.157 MB / 3.727 GB, free: 90.25 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02559/11.05, allocations: 6.748 MB / 3.734 GB, free: 88.77 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003117/11.05, allocations: 2.704 MB / 3.737 GB, free: 88 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01013/11.06, allocations: 2.233 MB / 3.739 GB, free: 87.95 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002663/11.07, allocations: 1.802 MB / 3.741 GB, free: 87.94 MB / 0.948 GB Notification: Performance of SimCode: time 1.423e-06/11.07, allocations: 0 / 3.741 GB, free: 87.94 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2664/11.33, allocations: 161 MB / 3.898 GB, free: 79.45 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/11.33, allocations: 220.6 kB / 3.898 GB, free: 79.22 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.298/19.63, allocations: 6.109 kB / 3.898 GB, free: 79.22 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_MoverStages_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_MoverStages.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1)