Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverStages.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverStages,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverStages,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7082/0.7082, allocations: 127.4 MB / 134.9 MB, free: 3.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 179.1 kB / 164.7 MB, free: 6.523 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.2 MB / 399.5 MB, free: 5.949 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008114/0.0008114, allocations: 83.56 kB / 476.7 MB, free: 8.672 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.168e-05/2.171e-05, allocations: 7.938 kB / 0.5467 GB, free: 60.41 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1728, allocations: 76.76 MB / 0.6216 GB, free: 15.58 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.237/1.41, allocations: 408.3 MB / 1.02 GB, free: 112.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/1.41, allocations: 97.09 kB / 1.02 GB, free: 112.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.779/10.19, allocations: 2.242 GB / 3.262 GB, free: 43.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.733e-06/10.19, allocations: 0 / 3.262 GB, free: 43.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0009603/10.19, allocations: 110 kB / 3.262 GB, free: 43.58 MB / 0.7136 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.015/10.21, allocations: 4.019 MB / 3.266 GB, free: 41.79 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/10.21, allocations: 10.44 kB / 3.266 GB, free: 41.79 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00927/10.21, allocations: 1.341 MB / 3.267 GB, free: 41.51 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06862/10.28, allocations: 30.24 MB / 3.297 GB, free: 39.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/10.28, allocations: 73.88 kB / 3.297 GB, free: 39.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001055/10.28, allocations: 140.3 kB / 3.297 GB, free: 39.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004832/10.29, allocations: 2.237 MB / 3.299 GB, free: 39.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004755/10.29, allocations: 2.499 MB / 3.302 GB, free: 39.31 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.306e-05/10.29, allocations: 7.25 kB / 3.302 GB, free: 39.31 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00023/10.29, allocations: 3.375 kB / 3.302 GB, free: 39.31 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.893e-05/10.29, allocations: 51.78 kB / 3.302 GB, free: 39.31 MB / 0.7136 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.02172/10.32, allocations: 13.88 MB / 3.315 GB, free: 33.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00323/10.32, allocations: 2.183 MB / 3.318 GB, free: 33.46 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/10.32, allocations: 0.879 MB / 3.318 GB, free: 33.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003891/10.32, allocations: 357.8 kB / 3.319 GB, free: 33.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001619/10.32, allocations: 1.096 MB / 3.32 GB, free: 33.01 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003431/10.33, allocations: 165 kB / 3.32 GB, free: 32.94 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=86): time 8.315e-06/10.33, allocations: 0 / 3.32 GB, free: 32.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=86): time 0.006796/10.33, allocations: 2.557 MB / 3.323 GB, free: 32.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/10.33, allocations: 114.4 kB / 3.323 GB, free: 32.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01129/10.34, allocations: 4.754 MB / 3.327 GB, free: 32.14 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0007114/10.34, allocations: 33.22 kB / 3.327 GB, free: 32.11 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002894/10.35, allocations: 2.178 MB / 3.329 GB, free: 31.56 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007609/10.35, allocations: 290.7 kB / 3.33 GB, free: 31.37 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004567/10.35, allocations: 0 / 3.33 GB, free: 31.37 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000203/10.35, allocations: 383.2 kB / 3.33 GB, free: 31.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/10.35, allocations: 1.043 MB / 3.331 GB, free: 31.06 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002317/10.35, allocations: 2.055 MB / 3.333 GB, free: 29.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004137/10.36, allocations: 1.464 MB / 3.335 GB, free: 29.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.83e-05/10.36, allocations: 10.66 kB / 3.335 GB, free: 29.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.01173/10.37, allocations: 3.766 MB / 3.338 GB, free: 29.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.005252/10.37, allocations: 13.59 MB / 3.351 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001303/10.37, allocations: 29.66 kB / 3.352 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/10.38, allocations: 338.9 kB / 3.352 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004187/10.38, allocations: 0.5761 MB / 3.352 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006703/10.39, allocations: 6.046 MB / 3.358 GB, free: 26.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004623/10.39, allocations: 155.6 kB / 3.358 GB, free: 26.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007525/10.39, allocations: 213.8 kB / 3.359 GB, free: 26.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/10.39, allocations: 3.562 kB / 3.359 GB, free: 26.48 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008499/10.4, allocations: 2.809 MB / 3.361 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001162/10.4, allocations: 28.44 kB / 3.361 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007167/10.4, allocations: 337.7 kB / 3.362 GB, free: 26.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/10.4, allocations: 0.5867 MB / 3.362 GB, free: 26.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/10.41, allocations: 2.572 MB / 3.365 GB, free: 24.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003761/10.41, allocations: 137 kB / 3.365 GB, free: 24.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005806/10.41, allocations: 205 kB / 3.365 GB, free: 24.29 MB / 0.7292 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 (215): * Single equations (assignments): 203 * 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.001056/10.41, allocations: 208.4 kB / 3.365 GB, free: 24.17 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005284/10.42, allocations: 1.846 MB / 3.367 GB, free: 23.86 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001344/10.42, allocations: 407.2 kB / 3.368 GB, free: 23.63 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00719/10.43, allocations: 2.499 MB / 3.37 GB, free: 23.45 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/10.43, allocations: 12.28 kB / 3.37 GB, free: 23.45 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/10.43, allocations: 3.953 kB / 3.37 GB, free: 23.44 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/10.43, allocations: 5.922 kB / 3.37 GB, free: 23.44 MB / 0.7292 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.0151/10.44, allocations: 5.436 MB / 3.375 GB, free: 23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/10.44, allocations: 0 / 3.375 GB, free: 23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/10.44, allocations: 253.2 kB / 3.376 GB, free: 23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007717/10.44, allocations: 363.5 kB / 3.376 GB, free: 22.96 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001549/10.44, allocations: 35.31 kB / 3.376 GB, free: 22.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005087/10.45, allocations: 5.692 MB / 3.382 GB, free: 17.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/10.45, allocations: 3.797 kB / 3.382 GB, free: 17.99 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006529/10.46, allocations: 2.188 MB / 3.384 GB, free: 17.52 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00315/10.46, allocations: 0.9103 MB / 3.385 GB, free: 17.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001754/10.46, allocations: 7.734 kB / 3.385 GB, free: 17.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003178/10.46, allocations: 138.1 kB / 3.385 GB, free: 17.18 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002425/10.46, allocations: 79.08 kB / 3.385 GB, free: 17.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/10.46, allocations: 67.12 kB / 3.385 GB, free: 17.18 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.007951/10.47, allocations: 3.572 MB / 3.388 GB, free: 17 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.41e-07/10.47, allocations: 0 / 3.388 GB, free: 17 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01034/10.48, allocations: 1.884 MB / 3.39 GB, free: 16.74 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (86): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.01183/10.49, allocations: 4.883 MB / 3.395 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.009084/10.5, allocations: 3.939 MB / 3.399 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/10.5, allocations: 0 / 3.399 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002175/10.51, allocations: 0.7747 MB / 3.4 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01043/10.52, allocations: 1.945 MB / 3.401 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02216/10.54, allocations: 6.471 MB / 3.408 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004301/10.54, allocations: 2.69 MB / 3.41 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0104/10.55, allocations: 2.138 MB / 3.412 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003167/10.56, allocations: 1.82 MB / 3.414 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of SimCode: time 2.385e-06/10.56, allocations: 0 / 3.414 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8024/11.36, allocations: 135.4 MB / 3.546 GB, free: 54.61 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002796/11.36, allocations: 173.2 kB / 3.547 GB, free: 54.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.699/19.06, allocations: 0 / 3.547 GB, free: 54.41 MB / 0.7292 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverStages.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverStages.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_MoverStages_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_MoverStages.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverStages.pipe 2>&1)