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.7199/0.7199, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 188.7 kB / 169.7 MB, free: 1.73 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.73/1.73, allocations: 205.1 MB / 404.5 MB, free: 1.652 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.001119/0.00112, allocations: 101 kB / 481.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.527e-05/3.529e-05, allocations: 0 / 0.5533 GB, free: 54.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1708, allocations: 76.77 MB / 0.6283 GB, free: 9.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.194/1.365, allocations: 408.6 MB / 1.027 GB, free: 106.9 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/1.365, allocations: 95.19 kB / 1.027 GB, free: 106.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.925/10.29, allocations: 2.257 GB / 3.284 GB, free: 48.44 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.474e-06/10.29, allocations: 0 / 3.284 GB, free: 48.44 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0009703/10.29, allocations: 111 kB / 3.284 GB, free: 48.42 MB / 0.7292 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.017/10.31, allocations: 4.013 MB / 3.288 GB, free: 46.76 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.966e-05/10.31, allocations: 12.88 kB / 3.288 GB, free: 46.76 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001861/10.31, allocations: 282.9 kB / 3.289 GB, free: 46.71 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/10.32, allocations: 1.347 MB / 3.29 GB, free: 46.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06671/10.39, allocations: 30.3 MB / 3.32 GB, free: 44.63 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002668/10.39, allocations: 189.1 kB / 3.32 GB, free: 44.62 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009493/10.39, allocations: 233.9 kB / 3.32 GB, free: 44.62 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005158/10.39, allocations: 2.812 MB / 3.323 GB, free: 44.23 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.707e-05/10.39, allocations: 6.312 kB / 3.323 GB, free: 44.23 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002549/10.39, allocations: 85.16 kB / 3.323 GB, free: 44.23 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.012e-05/10.39, allocations: 52.38 kB / 3.323 GB, free: 44.23 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003538/10.4, allocations: 1.937 MB / 3.325 GB, free: 44.22 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 preOpt removeSimpleEquations (simulation): time 0.02408/10.42, allocations: 13.26 MB / 3.338 GB, free: 39.56 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/10.42, allocations: 1.431 MB / 3.339 GB, free: 39.52 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008864/10.43, allocations: 0.6191 MB / 3.34 GB, free: 39.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008803/10.43, allocations: 5.041 MB / 3.345 GB, free: 37.62 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001735/10.44, allocations: 1.144 MB / 3.346 GB, free: 37.56 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002666/10.44, allocations: 222.7 kB / 3.346 GB, free: 37.47 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=88): time 6.061e-06/10.44, allocations: 3.25 kB / 3.346 GB, free: 37.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=88): time 0.005857/10.44, allocations: 2.017 MB / 3.348 GB, free: 37.14 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/10.45, allocations: 115.1 kB / 3.348 GB, free: 37.02 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01032/10.46, allocations: 5.215 MB / 3.353 GB, free: 36.65 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0007423/10.46, allocations: 60.64 kB / 3.353 GB, free: 36.62 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002246/10.46, allocations: 2.158 MB / 3.355 GB, free: 36.14 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006778/10.46, allocations: 304.4 kB / 3.356 GB, free: 35.95 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/10.46, allocations: 36.34 kB / 3.356 GB, free: 35.95 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001523/10.46, allocations: 389.5 kB / 3.356 GB, free: 35.64 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/10.46, allocations: 0.7745 MB / 3.357 GB, free: 35.63 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/10.46, allocations: 1.801 MB / 3.358 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/10.46, allocations: 0.9921 MB / 3.359 GB, free: 34.33 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.662e-05/10.46, allocations: 6.781 kB / 3.359 GB, free: 34.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.006337/10.47, allocations: 3.009 MB / 3.362 GB, free: 34 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.003463/10.47, allocations: 13.78 MB / 3.376 GB, free: 19.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-05/10.47, allocations: 30.16 kB / 3.376 GB, free: 19.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/10.47, allocations: 361.8 kB / 3.376 GB, free: 19.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003825/10.48, allocations: 0.5657 MB / 3.377 GB, free: 19.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005268/10.48, allocations: 5.228 MB / 3.382 GB, free: 31.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004715/10.49, allocations: 186.6 kB / 3.382 GB, free: 31.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007018/10.49, allocations: 217.2 kB / 3.382 GB, free: 31.05 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/10.49, allocations: 6.219 kB / 3.382 GB, free: 31.05 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004448/10.49, allocations: 2.72 MB / 3.385 GB, free: 30.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.711e-05/10.49, allocations: 31.34 kB / 3.385 GB, free: 30.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008445/10.49, allocations: 361.4 kB / 3.385 GB, free: 30.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/10.5, allocations: 0.5855 MB / 3.386 GB, free: 30.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/10.5, allocations: 2.52 MB / 3.388 GB, free: 28.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004408/10.5, allocations: 179.5 kB / 3.389 GB, free: 28.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004745/10.5, allocations: 207.6 kB / 3.389 GB, free: 28.87 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 () * 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.0009732/10.5, allocations: 245 kB / 3.389 GB, free: 28.74 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001669/10.51, allocations: 435.2 kB / 3.389 GB, free: 28.5 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006143/10.51, allocations: 2.525 MB / 3.392 GB, free: 28.31 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/10.51, allocations: 16 kB / 3.392 GB, free: 28.31 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/10.51, allocations: 0 / 3.392 GB, free: 28.31 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/10.51, allocations: 3.891 kB / 3.392 GB, free: 28.31 MB / 0.7448 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.01238/10.53, allocations: 5.618 MB / 3.397 GB, free: 27.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/10.53, allocations: 0 / 3.397 GB, free: 27.83 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001656/10.53, allocations: 249.8 kB / 3.398 GB, free: 27.83 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009428/10.53, allocations: 383.3 kB / 3.398 GB, free: 27.79 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/10.53, allocations: 44.97 kB / 3.398 GB, free: 27.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004918/10.53, allocations: 5.674 MB / 3.404 GB, free: 22.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/10.53, allocations: 0 / 3.404 GB, free: 22.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004733/10.54, allocations: 2.101 MB / 3.406 GB, free: 22.3 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003135/10.54, allocations: 0.9442 MB / 3.406 GB, free: 21.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001354/10.54, allocations: 21.84 kB / 3.407 GB, free: 21.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002452/10.54, allocations: 164.1 kB / 3.407 GB, free: 21.95 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002165/10.54, allocations: 79.03 kB / 3.407 GB, free: 21.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/10.54, allocations: 72.72 kB / 3.407 GB, free: 21.95 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.007689/10.55, allocations: 4.004 MB / 3.411 GB, free: 21.74 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.31e-07/10.55, allocations: 0 / 3.411 GB, free: 21.74 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01055/10.56, allocations: 1.936 MB / 3.413 GB, free: 21.53 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) * 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.009068/10.57, allocations: 4.902 MB / 3.417 GB, free: 20.01 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.008573/10.58, allocations: 3.737 MB / 3.421 GB, free: 19.95 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/10.58, allocations: 3.406 kB / 3.421 GB, free: 19.95 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002168/10.58, allocations: 0.8098 MB / 3.422 GB, free: 19.93 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01201/10.6, allocations: 2.141 MB / 3.424 GB, free: 19.9 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02033/10.62, allocations: 6.647 MB / 3.43 GB, free: 18.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002451/10.62, allocations: 2.69 MB / 3.433 GB, free: 17.56 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.01023/10.63, allocations: 2.226 MB / 3.435 GB, free: 17.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002895/10.63, allocations: 1.811 MB / 3.437 GB, free: 17.43 MB / 0.7448 GB Notification: Performance of SimCode: time 1.263e-06/10.63, allocations: 0 / 3.437 GB, free: 17.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9455/11.58, allocations: 161.9 MB / 3.595 GB, free: 54.91 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/11.58, allocations: 217.8 kB / 3.595 GB, free: 54.69 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.334/19.91, allocations: 0 / 3.595 GB, free: 54.69 MB / 0.7448 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)