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: translateModel(BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverStages") translateModel(BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverStages") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8335/0.8335, allocations: 127.3 MB / 139.8 MB, free: 15.45 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.001009/0.001009, allocations: 180.8 kB / 169.7 MB, free: 1.734 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.689/1.689, allocations: 205.1 MB / 404.5 MB, free: 1.66 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.0008797/0.00088, allocations: 94.27 kB / 481.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.482e-05, allocations: 7.984 kB / 0.5532 GB, free: 54.86 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.162, allocations: 76.76 MB / 0.6281 GB, free: 10.05 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.152/1.314, allocations: 408.6 MB / 1.027 GB, free: 106.9 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/1.315, allocations: 96.69 kB / 1.027 GB, free: 106.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.615/9.929, allocations: 2.257 GB / 3.284 GB, free: 48.47 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.645e-06/9.929, allocations: 0 / 3.284 GB, free: 48.47 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0009208/9.93, allocations: 115.9 kB / 3.284 GB, free: 48.45 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.01455/9.945, allocations: 4.019 MB / 3.288 GB, free: 46.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/9.945, allocations: 10.66 kB / 3.288 GB, free: 46.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009211/9.954, allocations: 1.34 MB / 3.29 GB, free: 46.52 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06635/10.02, allocations: 30.31 MB / 3.319 GB, free: 44.71 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002737/10.02, allocations: 180.5 kB / 3.319 GB, free: 44.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009667/10.02, allocations: 241.4 kB / 3.32 GB, free: 44.7 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005057/10.03, allocations: 2.808 MB / 3.322 GB, free: 44.32 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.196e-05/10.03, allocations: 6.594 kB / 3.322 GB, free: 44.32 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002424/10.03, allocations: 81.34 kB / 3.322 GB, free: 44.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.331e-05/10.03, allocations: 53.12 kB / 3.322 GB, free: 44.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00337/10.03, allocations: 1.936 MB / 3.324 GB, free: 44.3 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.02375/10.05, allocations: 13.26 MB / 3.337 GB, free: 39.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002664/10.06, allocations: 1.43 MB / 3.339 GB, free: 39.61 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00081/10.06, allocations: 0.6115 MB / 3.339 GB, free: 39.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008929/10.07, allocations: 5.043 MB / 3.344 GB, free: 37.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001837/10.07, allocations: 1.142 MB / 3.345 GB, free: 37.64 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002436/10.07, allocations: 228.1 kB / 3.346 GB, free: 37.55 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=88): time 8.506e-06/10.07, allocations: 0 / 3.346 GB, free: 37.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=88): time 0.006239/10.08, allocations: 2.021 MB / 3.348 GB, free: 37.22 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.12e-05/10.08, allocations: 117.9 kB / 3.348 GB, free: 37.09 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01318/10.09, allocations: 5.213 MB / 3.353 GB, free: 36.73 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0008174/10.09, allocations: 55.45 kB / 3.353 GB, free: 36.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.003352/10.09, allocations: 2.164 MB / 3.355 GB, free: 36.21 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008726/10.1, allocations: 306.2 kB / 3.355 GB, free: 36.03 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005808/10.1, allocations: 40.05 kB / 3.355 GB, free: 36.03 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002578/10.1, allocations: 383 kB / 3.356 GB, free: 35.72 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/10.1, allocations: 0.7827 MB / 3.356 GB, free: 35.71 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00243/10.1, allocations: 1.8 MB / 3.358 GB, free: 34.43 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002195/10.1, allocations: 0.9901 MB / 3.359 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.53e-05/10.1, allocations: 11.5 kB / 3.359 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.007585/10.11, allocations: 3 MB / 3.362 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.003574/10.11, allocations: 13.78 MB / 3.375 GB, free: 19.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.813e-05/10.11, allocations: 26.34 kB / 3.375 GB, free: 19.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/10.12, allocations: 356.3 kB / 3.376 GB, free: 19.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003706/10.12, allocations: 0.5724 MB / 3.376 GB, free: 19.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00546/10.12, allocations: 5.231 MB / 3.382 GB, free: 31.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004558/10.13, allocations: 185.5 kB / 3.382 GB, free: 31.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007195/10.13, allocations: 214 kB / 3.382 GB, free: 31.14 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/10.13, allocations: 5.359 kB / 3.382 GB, free: 31.14 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005813/10.14, allocations: 2.719 MB / 3.385 GB, free: 31.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001256/10.14, allocations: 32.61 kB / 3.385 GB, free: 31.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009708/10.14, allocations: 366.7 kB / 3.385 GB, free: 31.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002268/10.14, allocations: 0.5803 MB / 3.385 GB, free: 31.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/10.14, allocations: 2.523 MB / 3.388 GB, free: 28.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004173/10.15, allocations: 170.9 kB / 3.388 GB, free: 28.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005462/10.15, allocations: 207.1 kB / 3.388 GB, free: 28.95 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.001044/10.15, allocations: 246.5 kB / 3.389 GB, free: 28.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001601/10.15, allocations: 433 kB / 3.389 GB, free: 28.59 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006884/10.16, allocations: 2.52 MB / 3.391 GB, free: 28.39 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/10.16, allocations: 10.84 kB / 3.391 GB, free: 28.39 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/10.16, allocations: 4.219 kB / 3.391 GB, free: 28.39 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/10.16, allocations: 7.359 kB / 3.391 GB, free: 28.39 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.01508/10.17, allocations: 5.618 MB / 3.397 GB, free: 27.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/10.17, allocations: 4.656 kB / 3.397 GB, free: 27.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/10.17, allocations: 247 kB / 3.397 GB, free: 27.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/10.17, allocations: 381 kB / 3.398 GB, free: 27.88 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/10.17, allocations: 37.8 kB / 3.398 GB, free: 27.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004851/10.18, allocations: 5.682 MB / 3.403 GB, free: 22.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/10.18, allocations: 1.5 kB / 3.403 GB, free: 22.86 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004744/10.18, allocations: 2.101 MB / 3.405 GB, free: 22.39 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003446/10.19, allocations: 0.9487 MB / 3.406 GB, free: 22.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001975/10.19, allocations: 19.69 kB / 3.406 GB, free: 22.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003635/10.19, allocations: 165 kB / 3.406 GB, free: 22.04 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/10.19, allocations: 75.55 kB / 3.406 GB, free: 22.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002291/10.19, allocations: 79.3 kB / 3.406 GB, free: 22.03 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.009787/10.2, allocations: 4.011 MB / 3.41 GB, free: 21.83 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.91e-07/10.2, allocations: 0 / 3.41 GB, free: 21.83 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01117/10.21, allocations: 1.927 MB / 3.412 GB, free: 21.61 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.005559/10.22, allocations: 2.38 MB / 3.415 GB, free: 20.99 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.009404/10.23, allocations: 3.747 MB / 3.418 GB, free: 20.92 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/10.23, allocations: 3.969 kB / 3.418 GB, free: 20.92 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00255/10.23, allocations: 0.8132 MB / 3.419 GB, free: 20.91 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01353/10.25, allocations: 2.145 MB / 3.421 GB, free: 20.88 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/10.26, allocations: 5.589 MB / 3.427 GB, free: 19.5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004789/10.27, allocations: 2.698 MB / 3.429 GB, free: 18.71 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.01176/10.28, allocations: 2.223 MB / 3.431 GB, free: 18.59 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008415/10.28, allocations: 238.2 kB / 3.432 GB, free: 18.58 MB / 0.7448 GB Notification: Performance of SimCode: time 1.262e-06/10.28, allocations: 0 / 3.432 GB, free: 18.58 MB / 0.7448 GB Notification: Performance of Templates: time 0.797/11.08, allocations: 119.3 MB / 3.548 GB, free: 52.77 MB / 0.7448 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverStages.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.MoverStages.pipe 2>&1)