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.634/2.634, allocations: 284.9 MB / 292.4 MB, free: 10.51 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.001487/0.001487, allocations: 180.8 kB / 360.6 MB, free: 7.254 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.027/2.027, allocations: 205.3 MB / 0.6191 GB, free: 12.16 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.001088/0.001088, allocations: 92.58 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.366e-05/2.363e-05, allocations: 4 kB / 0.8508 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7894/0.7894, allocations: 115.3 MB / 0.9634 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.301/2.091, allocations: 445.3 MB / 1.398 GB, free: 123.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/2.091, allocations: 95.81 kB / 1.398 GB, free: 123.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 12.3/14.39, allocations: 2.312 GB / 3.711 GB, free: 70.77 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.395e-06/14.39, allocations: 3.969 kB / 3.711 GB, free: 70.77 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.00125/14.39, allocations: 105.6 kB / 3.711 GB, free: 70.75 MB / 0.9792 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.01531/14.41, allocations: 4.031 MB / 3.715 GB, free: 67.91 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/14.41, allocations: 7.812 kB / 3.715 GB, free: 67.91 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0118/14.42, allocations: 1.192 MB / 3.716 GB, free: 67.37 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1106/14.53, allocations: 31.06 MB / 3.746 GB, free: 41.54 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002276/14.53, allocations: 68 kB / 3.746 GB, free: 41.47 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001206/14.53, allocations: 148 kB / 3.747 GB, free: 41.33 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007321/14.54, allocations: 2.241 MB / 3.749 GB, free: 39.08 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009115/14.55, allocations: 2.514 MB / 3.751 GB, free: 36.43 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.789e-05/14.55, allocations: 0 / 3.751 GB, free: 36.43 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005261/14.55, allocations: 7.938 kB / 3.751 GB, free: 36.42 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.625e-05/14.55, allocations: 55.89 kB / 3.751 GB, free: 36.36 MB / 0.9792 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.03431/14.58, allocations: 12.79 MB / 3.764 GB, free: 23.15 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005579/14.59, allocations: 2.16 MB / 3.766 GB, free: 20.99 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002153/14.59, allocations: 0.9167 MB / 3.767 GB, free: 20.07 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0144/14.6, allocations: 5.167 MB / 3.772 GB, free: 14.61 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002677/14.61, allocations: 1.105 MB / 3.773 GB, free: 13.49 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002898/14.61, allocations: 174.4 kB / 3.773 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=92): time 1.312e-05/14.61, allocations: 0 / 3.773 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of matching and sorting (n=92): time 0.01328/14.62, allocations: 2.769 MB / 3.776 GB, free: 10.53 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/14.62, allocations: 111.6 kB / 3.776 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01413/14.64, allocations: 4.726 MB / 3.78 GB, free: 5.68 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0006964/14.64, allocations: 29.7 kB / 3.78 GB, free: 5.645 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.003623/14.64, allocations: 2.159 MB / 3.783 GB, free: 3.457 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008804/14.64, allocations: 307.5 kB / 3.783 GB, free: 3.152 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/14.64, allocations: 4 kB / 3.783 GB, free: 3.148 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002212/14.64, allocations: 390 kB / 3.783 GB, free: 2.762 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002533/14.65, allocations: 1.043 MB / 3.784 GB, free: 1.715 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003898/14.65, allocations: 2.084 MB / 3.786 GB, free: 15.12 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006834/14.66, allocations: 1.472 MB / 3.788 GB, free: 13.65 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.48e-05/14.66, allocations: 8 kB / 3.788 GB, free: 13.64 MB / 0.9948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.01573/14.67, allocations: 3.581 MB / 3.791 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.006894/14.68, allocations: 13.58 MB / 3.805 GB, free: 11.12 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001102/14.68, allocations: 28 kB / 3.805 GB, free: 11.09 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/14.68, allocations: 340.6 kB / 3.805 GB, free: 10.76 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00604/14.69, allocations: 0.546 MB / 3.805 GB, free: 10.21 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008682/14.7, allocations: 6.008 MB / 3.811 GB, free: 4.012 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005561/14.7, allocations: 151.9 kB / 3.811 GB, free: 3.863 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001039/14.7, allocations: 211.9 kB / 3.812 GB, free: 3.656 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/14.7, allocations: 0 / 3.812 GB, free: 3.656 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01099/14.71, allocations: 2.69 MB / 3.814 GB, free: 0.9531 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001214/14.71, allocations: 32 kB / 3.814 GB, free: 0.9219 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/14.72, allocations: 337.6 kB / 3.815 GB, free: 0.5938 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004666/14.72, allocations: 0.5889 MB / 3.815 GB, free: 4 kB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8419/15.56, allocations: 2.562 MB / 3.818 GB, free: 116.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004876/15.57, allocations: 138.4 kB / 3.818 GB, free: 116.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009155/15.57, allocations: 213.3 kB / 3.818 GB, free: 116.7 MB / 1.01 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_Nrpm.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_dp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_y.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_m_flow.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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.0009821/15.57, allocations: 202.7 kB / 3.818 GB, free: 116.6 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01095/15.58, allocations: 2.071 MB / 3.82 GB, free: 116.5 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001727/15.58, allocations: 409.9 kB / 3.821 GB, free: 116.4 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/15.59, allocations: 2.579 MB / 3.823 GB, free: 116.3 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-05/15.59, allocations: 15.84 kB / 3.823 GB, free: 116.3 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/15.59, allocations: 0 / 3.823 GB, free: 116.3 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.409e-05/15.59, allocations: 4.688 kB / 3.823 GB, free: 116.3 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.02059/15.61, allocations: 5.718 MB / 3.829 GB, free: 115.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.276e-05/15.61, allocations: 0 / 3.829 GB, free: 115.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002307/15.62, allocations: 217 kB / 3.829 GB, free: 115.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001359/15.62, allocations: 363.8 kB / 3.829 GB, free: 115.8 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003078/15.62, allocations: 38.08 kB / 3.829 GB, free: 115.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004246/15.62, allocations: 4.975 MB / 3.834 GB, free: 111.5 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/15.62, allocations: 5.922 kB / 3.834 GB, free: 111.5 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009096/15.63, allocations: 2.435 MB / 3.837 GB, free: 110.9 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00353/15.63, allocations: 0.919 MB / 3.837 GB, free: 110.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001509/15.64, allocations: 3.688 kB / 3.837 GB, free: 110.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004573/15.64, allocations: 140 kB / 3.838 GB, free: 110.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004522/15.64, allocations: 92.67 kB / 3.838 GB, free: 110.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003076/15.64, allocations: 76.17 kB / 3.838 GB, free: 110.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.009094/15.65, allocations: 3.53 MB / 3.841 GB, free: 110.4 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.81e-07/15.65, allocations: 0 / 3.841 GB, free: 110.4 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01059/15.66, allocations: 1.931 MB / 3.843 GB, free: 110.3 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.01369/15.67, allocations: 5.305 MB / 3.848 GB, free: 108.6 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0112/15.69, allocations: 3.975 MB / 3.852 GB, free: 108.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/15.69, allocations: 2.5 kB / 3.852 GB, free: 108.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00259/15.69, allocations: 0.8274 MB / 3.853 GB, free: 108.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01388/15.7, allocations: 1.955 MB / 3.855 GB, free: 108.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02183/15.72, allocations: 6.579 MB / 3.861 GB, free: 107 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004915/15.73, allocations: 2.699 MB / 3.864 GB, free: 106.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.01625/15.75, allocations: 2.15 MB / 3.866 GB, free: 106.2 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004036/15.75, allocations: 1.794 MB / 3.868 GB, free: 106.2 MB / 1.01 GB Notification: Performance of SimCode: time 1.213e-06/15.75, allocations: 3.188 kB / 3.868 GB, free: 106.2 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3332/16.08, allocations: 135.3 MB / 4 GB, free: 99.11 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002627/16.08, allocations: 164.2 kB / 4 GB, free: 98.92 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.765/25.85, allocations: 0 / 4 GB, free: 98.92 MB / 1.01 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)