Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Examples.MoverStages.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverStages,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverStages,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.658/2.658, allocations: 287.3 MB / 302.3 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001713/0.001712, allocations: 177.1 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.253/2.253, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001223/0.001223, allocations: 102.2 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004986/0.0004986, allocations: 15.12 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2572, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.408/1.665, allocations: 446 MB / 1.414 GB, free: 308 kB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003701/1.665, allocations: 100.4 kB / 1.414 GB, free: 252 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 14.01/15.67, allocations: 2.334 GB / 3.748 GB, free: 119.6 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.377e-06/15.67, allocations: 0 / 3.748 GB, free: 119.6 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001111/15.67, allocations: 108.7 kB / 3.748 GB, free: 119.6 MB / 1.01 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.03823/15.71, allocations: 7.832 MB / 3.756 GB, free: 117.4 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/15.71, allocations: 13.38 kB / 3.756 GB, free: 117.4 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001561/15.71, allocations: 291 kB / 3.756 GB, free: 117.3 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01254/15.72, allocations: 1.185 MB / 3.757 GB, free: 117 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1138/15.84, allocations: 31.32 MB / 3.788 GB, free: 115.2 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003624/15.84, allocations: 182.1 kB / 3.788 GB, free: 115.2 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001463/15.84, allocations: 239 kB / 3.788 GB, free: 115.2 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01226/15.85, allocations: 2.908 MB / 3.791 GB, free: 114.8 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/15.85, allocations: 1.781 kB / 3.791 GB, free: 114.8 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001092/15.85, allocations: 87.06 kB / 3.791 GB, free: 114.8 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.276e-05/15.85, allocations: 47.25 kB / 3.791 GB, free: 114.8 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/15.86, allocations: 2.119 MB / 3.793 GB, free: 114.8 MB / 1.01 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.03764/15.9, allocations: 13.26 MB / 3.806 GB, free: 110.2 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008668/15.91, allocations: 1.636 MB / 3.808 GB, free: 110.1 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01591/15.93, allocations: 5.248 MB / 3.813 GB, free: 108.2 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004743/15.93, allocations: 1.218 MB / 3.814 GB, free: 108.2 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003426/15.94, allocations: 225.3 kB / 3.814 GB, free: 108.1 MB / 1.01 GB Notification: Performance of pre-optimization done (n=92): time 1.007e-05/15.94, allocations: 3.344 kB / 3.814 GB, free: 108.1 MB / 1.01 GB Notification: Performance of matching and sorting (n=92): time 0.02276/15.96, allocations: 3.439 MB / 3.818 GB, free: 107.4 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.945e-05/15.96, allocations: 118.2 kB / 3.818 GB, free: 107.2 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01641/15.97, allocations: 5.269 MB / 3.823 GB, free: 106.9 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0007864/15.98, allocations: 63.89 kB / 3.823 GB, free: 106.9 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.004029/15.98, allocations: 2.14 MB / 3.825 GB, free: 106.4 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009544/15.98, allocations: 324.8 kB / 3.825 GB, free: 106.2 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005329/15.98, allocations: 34.44 kB / 3.825 GB, free: 106.2 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002686/15.98, allocations: 384.5 kB / 3.826 GB, free: 105.9 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004079/15.99, allocations: 0.8678 MB / 3.827 GB, free: 105.9 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005059/15.99, allocations: 1.931 MB / 3.828 GB, free: 104.6 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004651/16, allocations: 1.073 MB / 3.829 GB, free: 104.5 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.145e-05/16, allocations: 11.64 kB / 3.829 GB, free: 104.5 MB / 1.01 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.01438/16.01, allocations: 3.212 MB / 3.833 GB, free: 104.2 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.004081/16.01, allocations: 13.75 MB / 3.846 GB, free: 89.71 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002342/16.01, allocations: 36.11 kB / 3.846 GB, free: 89.71 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002625/16.02, allocations: 391.6 kB / 3.846 GB, free: 89.68 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006075/16.02, allocations: 0.5393 MB / 3.847 GB, free: 89.68 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006489/16.03, allocations: 5.268 MB / 3.852 GB, free: 85.25 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005878/16.04, allocations: 190.8 kB / 3.852 GB, free: 85.25 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009908/16.04, allocations: 213.3 kB / 3.852 GB, free: 85.25 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/16.04, allocations: 3.938 kB / 3.852 GB, free: 85.25 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01147/16.05, allocations: 2.899 MB / 3.855 GB, free: 85.18 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001331/16.05, allocations: 28.41 kB / 3.855 GB, free: 85.18 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001997/16.05, allocations: 395.7 kB / 3.856 GB, free: 85.15 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004398/16.05, allocations: 0.5895 MB / 3.856 GB, free: 85.15 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003096/16.06, allocations: 2.569 MB / 3.859 GB, free: 83.07 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005407/16.06, allocations: 172.6 kB / 3.859 GB, free: 83.07 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009498/16.06, allocations: 205.6 kB / 3.859 GB, free: 83.07 MB / 1.01 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.004416/16.07, allocations: 1.179 MB / 3.86 GB, free: 82.86 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001592/16.07, allocations: 436.1 kB / 3.861 GB, free: 82.62 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0145/16.08, allocations: 2.77 MB / 3.863 GB, free: 82.44 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.044e-05/16.08, allocations: 15.75 kB / 3.863 GB, free: 82.44 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.892e-05/16.08, allocations: 3.953 kB / 3.863 GB, free: 82.44 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.09e-05/16.08, allocations: 9.562 kB / 3.863 GB, free: 82.44 MB / 1.01 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.02588/16.11, allocations: 6.133 MB / 3.869 GB, free: 81.93 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.037e-05/16.11, allocations: 4.75 kB / 3.869 GB, free: 81.93 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002371/16.11, allocations: 222.1 kB / 3.87 GB, free: 81.92 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002251/16.12, allocations: 417.4 kB / 3.87 GB, free: 81.88 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004183/16.12, allocations: 40.75 kB / 3.87 GB, free: 81.88 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004917/16.12, allocations: 4.958 MB / 3.875 GB, free: 77.59 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/16.12, allocations: 0 / 3.875 GB, free: 77.59 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/16.13, allocations: 2.611 MB / 3.877 GB, free: 76.93 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003695/16.14, allocations: 0.9498 MB / 3.878 GB, free: 76.59 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001849/16.14, allocations: 23.69 kB / 3.878 GB, free: 76.59 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00504/16.14, allocations: 160.1 kB / 3.879 GB, free: 76.59 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005/16.14, allocations: 86.66 kB / 3.879 GB, free: 76.59 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003435/16.14, allocations: 82.12 kB / 3.879 GB, free: 76.59 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.01157/16.16, allocations: 4.009 MB / 3.883 GB, free: 76.41 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.513e-06/16.16, allocations: 0 / 3.883 GB, free: 76.41 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01297/16.17, allocations: 1.995 MB / 3.885 GB, free: 76.18 MB / 1.01 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.01838/16.19, allocations: 5.621 MB / 3.89 GB, free: 74.32 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01651/16.2, allocations: 3.863 MB / 3.894 GB, free: 74.29 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/16.2, allocations: 0 / 3.894 GB, free: 74.29 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004556/16.21, allocations: 0.935 MB / 3.895 GB, free: 74.28 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01644/16.23, allocations: 2.166 MB / 3.897 GB, free: 74.26 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03547/16.26, allocations: 30.82 MB / 3.927 GB, free: 48.95 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006015/16.27, allocations: 2.688 MB / 3.93 GB, free: 48.14 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.01066/16.28, allocations: 1.22 MB / 3.931 GB, free: 47.97 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005552/16.28, allocations: 1.925 MB / 3.933 GB, free: 47.96 MB / 1.01 GB Notification: Performance of SimCode: time 9.72e-07/16.28, allocations: 3.25 kB / 3.933 GB, free: 47.96 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.234/17.52, allocations: 149.5 MB / 4.079 GB, free: 129.3 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003015/17.52, allocations: 244.6 kB / 4.079 GB, free: 129 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.648/27.17, allocations: 2.156 kB / 4.079 GB, free: 129 MB / 1.026 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Examples.MoverStages.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Examples.MoverStages.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Examples_MoverStages_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_Examples_MoverStages.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1)