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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverStages,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverStages,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.743/1.743, allocations: 289.7 MB / 302.2 MB, free: 2.18 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.001207/0.001207, allocations: 182.8 kB / 371.6 MB, free: 3.363 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.2 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008871/0.0008869, allocations: 95.06 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.624e-05/4.626e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2629, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.864/2.127, allocations: 447.1 MB / 1.417 GB, free: 288.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/2.128, allocations: 93.06 kB / 1.417 GB, free: 288.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.605/11.73, allocations: 2.328 GB / 3.744 GB, free: 103.6 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.593e-06/11.73, allocations: 0 / 3.744 GB, free: 103.6 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.00127/11.73, allocations: 108.2 kB / 3.744 GB, free: 103.5 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.01684/11.75, allocations: 4.029 MB / 3.748 GB, free: 101.7 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.852e-05/11.75, allocations: 9.844 kB / 3.748 GB, free: 101.7 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001418/11.75, allocations: 286.7 kB / 3.748 GB, free: 101.7 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009223/11.76, allocations: 1.187 MB / 3.75 GB, free: 101.4 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07443/11.84, allocations: 31.13 MB / 3.78 GB, free: 99.56 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003164/11.84, allocations: 182.6 kB / 3.78 GB, free: 99.55 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001309/11.84, allocations: 238.9 kB / 3.78 GB, free: 99.55 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00598/11.84, allocations: 2.798 MB / 3.783 GB, free: 99.16 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.755e-05/11.84, allocations: 4.344 kB / 3.783 GB, free: 99.16 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002669/11.84, allocations: 88.62 kB / 3.783 GB, free: 99.16 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.862e-05/11.84, allocations: 53.42 kB / 3.783 GB, free: 99.16 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003631/11.85, allocations: 1.923 MB / 3.785 GB, free: 99.15 MB / 1.01 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.02825/11.88, allocations: 13.25 MB / 3.798 GB, free: 94.48 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003225/11.88, allocations: 1.449 MB / 3.8 GB, free: 94.45 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/11.88, allocations: 0.6341 MB / 3.8 GB, free: 94.44 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01307/11.89, allocations: 5.29 MB / 3.805 GB, free: 92.54 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001938/11.9, allocations: 1.137 MB / 3.806 GB, free: 92.47 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003065/11.9, allocations: 230.4 kB / 3.807 GB, free: 92.38 MB / 1.01 GB Notification: Performance of pre-optimization done (n=92): time 7.043e-06/11.9, allocations: 0 / 3.807 GB, free: 92.38 MB / 1.01 GB Notification: Performance of matching and sorting (n=92): time 0.005333/11.9, allocations: 2.002 MB / 3.809 GB, free: 92.05 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/11.9, allocations: 115.1 kB / 3.809 GB, free: 91.92 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0094/11.91, allocations: 5.208 MB / 3.814 GB, free: 91.56 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0007781/11.91, allocations: 65.12 kB / 3.814 GB, free: 91.53 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002069/11.92, allocations: 2.146 MB / 3.816 GB, free: 91.04 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006617/11.92, allocations: 316.8 kB / 3.816 GB, free: 90.84 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/11.92, allocations: 35.81 kB / 3.816 GB, free: 90.84 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001528/11.92, allocations: 386.3 kB / 3.817 GB, free: 90.54 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/11.92, allocations: 0.7738 MB / 3.817 GB, free: 90.53 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/11.92, allocations: 1.838 MB / 3.819 GB, free: 89.22 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/11.92, allocations: 0.9966 MB / 3.82 GB, free: 89.19 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.749e-05/11.92, allocations: 7.469 kB / 3.82 GB, free: 89.19 MB / 1.01 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005636/11.93, allocations: 3.015 MB / 3.823 GB, free: 88.87 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.003337/11.93, allocations: 13.76 MB / 3.837 GB, free: 74.36 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-05/11.93, allocations: 34.47 kB / 3.837 GB, free: 74.36 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/11.93, allocations: 354.2 kB / 3.837 GB, free: 74.33 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003219/11.94, allocations: 0.542 MB / 3.838 GB, free: 74.33 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00354/11.94, allocations: 5.214 MB / 3.843 GB, free: 69.91 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004394/11.94, allocations: 185 kB / 3.843 GB, free: 69.91 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004045/11.94, allocations: 214.5 kB / 3.843 GB, free: 69.91 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/11.94, allocations: 4.844 kB / 3.843 GB, free: 69.91 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004442/11.95, allocations: 2.73 MB / 3.846 GB, free: 69.85 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.139e-05/11.95, allocations: 34.38 kB / 3.846 GB, free: 69.85 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000903/11.95, allocations: 364.2 kB / 3.846 GB, free: 69.81 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/11.95, allocations: 0.5846 MB / 3.847 GB, free: 69.81 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/11.95, allocations: 2.528 MB / 3.849 GB, free: 67.74 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00444/11.96, allocations: 178.5 kB / 3.849 GB, free: 67.73 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000349/11.96, allocations: 205 kB / 3.849 GB, free: 67.73 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 () * 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.000867/11.96, allocations: 257.9 kB / 3.85 GB, free: 67.6 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001148/11.96, allocations: 429.8 kB / 3.85 GB, free: 67.36 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006585/11.97, allocations: 2.581 MB / 3.853 GB, free: 67.18 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-05/11.97, allocations: 19.67 kB / 3.853 GB, free: 67.18 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/11.97, allocations: 0 / 3.853 GB, free: 67.18 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/11.97, allocations: 6.312 kB / 3.853 GB, free: 67.18 MB / 1.01 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.01178/11.98, allocations: 5.949 MB / 3.858 GB, free: 66.66 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/11.98, allocations: 3.156 kB / 3.858 GB, free: 66.66 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/11.98, allocations: 215.3 kB / 3.859 GB, free: 66.66 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009251/11.98, allocations: 379.5 kB / 3.859 GB, free: 66.62 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/11.98, allocations: 47.75 kB / 3.859 GB, free: 66.62 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002454/11.98, allocations: 4.915 MB / 3.864 GB, free: 62.33 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/11.98, allocations: 3.719 kB / 3.864 GB, free: 62.33 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004601/11.99, allocations: 2.419 MB / 3.866 GB, free: 61.67 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002691/11.99, allocations: 0.9479 MB / 3.867 GB, free: 61.33 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005851/11.99, allocations: 25.41 kB / 3.867 GB, free: 61.33 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001933/11.99, allocations: 165.1 kB / 3.867 GB, free: 61.32 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/11.99, allocations: 86.92 kB / 3.867 GB, free: 61.32 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001744/11.99, allocations: 77.62 kB / 3.867 GB, free: 61.32 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.007249/12, allocations: 3.953 MB / 3.871 GB, free: 61.11 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.91e-07/12, allocations: 3.969 kB / 3.871 GB, free: 61.11 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.009632/12.01, allocations: 1.991 MB / 3.873 GB, free: 60.88 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) * 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.009211/12.02, allocations: 5.383 MB / 3.879 GB, free: 58.94 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.007577/12.03, allocations: 3.769 MB / 3.882 GB, free: 58.69 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/12.03, allocations: 2.844 kB / 3.882 GB, free: 58.69 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001551/12.03, allocations: 0.856 MB / 3.883 GB, free: 58.66 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01093/12.04, allocations: 2.159 MB / 3.885 GB, free: 58.53 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/12.06, allocations: 6.769 MB / 3.892 GB, free: 56.47 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002314/12.06, allocations: 2.705 MB / 3.894 GB, free: 55.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.009629/12.07, allocations: 2.217 MB / 3.897 GB, free: 55.16 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002418/12.07, allocations: 1.812 MB / 3.898 GB, free: 53.7 MB / 1.01 GB Notification: Performance of SimCode: time 1.303e-06/12.07, allocations: 0 / 3.898 GB, free: 53.7 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.985/14.06, allocations: 161.5 MB / 4.056 GB, free: 86.56 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/14.06, allocations: 207.3 kB / 4.056 GB, free: 86.34 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.389/22.45, allocations: 0 / 4.056 GB, free: 86.34 MB / 1.026 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Examples_MoverStages_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_Examples_MoverStages.fmu > Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1)