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.7655/0.7655, allocations: 128.7 MB / 143.7 MB, free: 2.297 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.001109/0.001109, allocations: 189.7 kB / 173.7 MB, free: 6.117 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.747/1.747, allocations: 205.4 MB / 409 MB, free: 10.49 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.001038/0.001039, allocations: 84.3 kB / 486.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003183, allocations: 12.08 kB / 0.5604 GB, free: 97.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1304, allocations: 76.77 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9657/1.096, allocations: 408.7 MB / 1.035 GB, free: 217 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/1.096, allocations: 101.1 kB / 1.035 GB, free: 217 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.32/8.417, allocations: 2.263 GB / 3.298 GB, free: 20 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.204e-06/8.417, allocations: 0 / 3.298 GB, free: 20 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0008268/8.418, allocations: 107.9 kB / 3.298 GB, free: 19.9 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.02334/8.441, allocations: 7.829 MB / 3.306 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.305e-05/8.441, allocations: 12.03 kB / 3.306 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001329/8.443, allocations: 283.1 kB / 3.306 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008593/8.451, allocations: 1.352 MB / 3.307 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5842/9.035, allocations: 30.48 MB / 3.337 GB, free: 58.16 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002559/9.036, allocations: 185.9 kB / 3.337 GB, free: 58.15 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007653/9.036, allocations: 238.9 kB / 3.337 GB, free: 58.15 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005956/9.042, allocations: 2.923 MB / 3.34 GB, free: 57.76 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.299e-05/9.042, allocations: 4.25 kB / 3.34 GB, free: 57.76 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002581/9.043, allocations: 88 kB / 3.34 GB, free: 57.76 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.305e-05/9.043, allocations: 48.91 kB / 3.34 GB, free: 57.76 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004947/9.048, allocations: 2.132 MB / 3.342 GB, free: 57.75 MB / 0.7292 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.01992/9.068, allocations: 13.25 MB / 3.355 GB, free: 53.41 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003899/9.072, allocations: 1.622 MB / 3.357 GB, free: 53.38 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008122/9.08, allocations: 5.007 MB / 3.362 GB, free: 51.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002307/9.082, allocations: 1.233 MB / 3.363 GB, free: 51.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002121/9.084, allocations: 228.6 kB / 3.363 GB, free: 51.43 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=88): time 4.078e-06/9.084, allocations: 0 / 3.363 GB, free: 51.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=88): time 0.01086/9.095, allocations: 3.459 MB / 3.367 GB, free: 50.72 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/9.095, allocations: 111.3 kB / 3.367 GB, free: 50.6 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01032/9.106, allocations: 5.267 MB / 3.372 GB, free: 50.28 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0006858/9.106, allocations: 60.48 kB / 3.372 GB, free: 50.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002708/9.109, allocations: 2.165 MB / 3.374 GB, free: 49.87 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008407/9.11, allocations: 303.9 kB / 3.374 GB, free: 49.72 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/9.11, allocations: 36.67 kB / 3.374 GB, free: 49.72 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001763/9.11, allocations: 391.5 kB / 3.375 GB, free: 49.42 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/9.112, allocations: 0.868 MB / 3.376 GB, free: 49.41 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002865/9.115, allocations: 1.893 MB / 3.378 GB, free: 48.14 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003238/9.119, allocations: 1.072 MB / 3.379 GB, free: 48.11 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.55e-05/9.119, allocations: 9.062 kB / 3.379 GB, free: 48.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.008758/9.127, allocations: 3.21 MB / 3.382 GB, free: 47.79 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0028/9.13, allocations: 13.78 MB / 3.395 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.437e-05/9.13, allocations: 31.56 kB / 3.395 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/9.132, allocations: 385.8 kB / 3.396 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004222/9.136, allocations: 0.5687 MB / 3.396 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005369/9.141, allocations: 5.286 MB / 3.401 GB, free: 44.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004565/9.146, allocations: 191 kB / 3.401 GB, free: 44.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007099/9.146, allocations: 213.7 kB / 3.402 GB, free: 44.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/9.146, allocations: 2.969 kB / 3.402 GB, free: 44.84 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006943/9.153, allocations: 2.887 MB / 3.404 GB, free: 44.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001844/9.154, allocations: 28.72 kB / 3.405 GB, free: 44.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/9.155, allocations: 395.2 kB / 3.405 GB, free: 44.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002667/9.158, allocations: 0.5768 MB / 3.405 GB, free: 44.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002789/9.161, allocations: 2.575 MB / 3.408 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004411/9.165, allocations: 176.2 kB / 3.408 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005173/9.166, allocations: 203.5 kB / 3.408 GB, free: 42.67 MB / 0.7448 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 (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.003531/9.169, allocations: 1.178 MB / 3.409 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001584/9.171, allocations: 431.5 kB / 3.41 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007169/9.178, allocations: 2.703 MB / 3.413 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/9.178, allocations: 21.72 kB / 3.413 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/9.178, allocations: 1.375 kB / 3.413 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/9.178, allocations: 6.281 kB / 3.413 GB, free: 42.04 MB / 0.7448 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.01254/9.191, allocations: 5.808 MB / 3.418 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/9.191, allocations: 6.906 kB / 3.418 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/9.192, allocations: 245.4 kB / 3.418 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001126/9.193, allocations: 421.8 kB / 3.419 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.382e-05/9.194, allocations: 40.17 kB / 3.419 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005043/9.199, allocations: 5.747 MB / 3.425 GB, free: 36.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/9.199, allocations: 6.422 kB / 3.425 GB, free: 36.51 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005421/9.204, allocations: 2.288 MB / 3.427 GB, free: 36.04 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002918/9.207, allocations: 0.9534 MB / 3.428 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006137/9.208, allocations: 14.75 kB / 3.428 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001952/9.21, allocations: 168 kB / 3.428 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/9.21, allocations: 75.55 kB / 3.428 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001387/9.21, allocations: 75.78 kB / 3.428 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.006146/9.216, allocations: 4.06 MB / 3.432 GB, free: 35.52 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/9.216, allocations: 1.562 kB / 3.432 GB, free: 35.52 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.008556/9.225, allocations: 1.939 MB / 3.434 GB, free: 35.44 MB / 0.7448 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.009604/9.234, allocations: 5.142 MB / 3.439 GB, free: 34.07 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00935/9.244, allocations: 3.826 MB / 3.443 GB, free: 34.04 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/9.244, allocations: 3.406 kB / 3.443 GB, free: 34.04 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002726/9.246, allocations: 0.8999 MB / 3.444 GB, free: 34.03 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01066/9.257, allocations: 2.142 MB / 3.446 GB, free: 34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03359/9.291, allocations: 30.68 MB / 3.476 GB, free: 25.05 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00271/9.294, allocations: 2.685 MB / 3.478 GB, free: 24.27 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.00674/9.3, allocations: 1.21 MB / 3.479 GB, free: 24.23 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003603/9.304, allocations: 1.931 MB / 3.481 GB, free: 24.22 MB / 0.7605 GB Notification: Performance of SimCode: time 9.22e-07/9.304, allocations: 5.531 kB / 3.481 GB, free: 24.22 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7719/10.08, allocations: 149.8 MB / 3.628 GB, free: 92.3 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/10.08, allocations: 243.8 kB / 3.628 GB, free: 92.02 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.212/18.29, allocations: 1.828 kB / 3.628 GB, free: 92.02 MB / 0.7761 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)