Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002102/0.002102, allocations: 161.3 kB / 22.75 MB, free: 1.656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo): time 0.2144/0.2144, allocations: 24.12 MB / 283.7 MB, free: 5.316 MB / 266.7 MB " [Timeout remaining time 180] Using package BusinessSimulation with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BusinessSimulation.Examples.SimpleProductionChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChain") translateModel(BusinessSimulation.Examples.SimpleProductionChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 360.4 MB, free: 4.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.775e-05, allocations: 2.312 kB / 360.4 MB, free: 4.406 MB / 330.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.SimpleProductionChain): time 0.007905/0.007933, allocations: 5.086 MB / 365.5 MB, free: 15.29 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.009707, allocations: 0.6034 MB / 366.1 MB, free: 14.68 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004042/0.01011, allocations: 15.88 kB / 366.2 MB, free: 14.67 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000363/0.01047, allocations: 83.25 kB / 366.2 MB, free: 14.59 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.01079, allocations: 79.3 kB / 366.3 MB, free: 14.51 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007267/0.01151, allocations: 191.4 kB / 366.5 MB, free: 14.32 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007789/0.01229, allocations: 467.1 kB / 367 MB, free: 13.86 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003877/0.01268, allocations: 150.8 kB / 367.1 MB, free: 13.72 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005622/0.01324, allocations: 279.4 kB / 367.4 MB, free: 13.45 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003374/0.01358, allocations: 147.5 kB / 367.5 MB, free: 13.3 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.858e-05/0.01368, allocations: 47.94 kB / 367.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.01381, allocations: 55.98 kB / 367.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.01397, allocations: 115.6 kB / 367.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002199/0.01419, allocations: 143.6 kB / 367.9 MB, free: 12.95 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007241/0.01491, allocations: 470.5 kB / 368.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.01492, allocations: 0 / 368.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.01492, allocations: 0 / 368.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.969e-05/0.01494, allocations: 0 / 368.3 MB, free: 12.48 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.0016/0.01654, allocations: 0.6264 MB / 369 MB, free: 11.83 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.01658, allocations: 8.75 kB / 369 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005275/0.0171, allocations: 96.62 kB / 369.1 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000916/0.01802, allocations: 284.7 kB / 369.3 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.472e-05/0.01812, allocations: 37.38 kB / 369.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.01825, allocations: 48.38 kB / 369.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.01954, allocations: 475 kB / 369.9 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.01956, allocations: 0 / 369.9 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.702e-05/0.01962, allocations: 16 kB / 369.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.01964, allocations: 8 kB / 369.9 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008259/0.02047, allocations: 251.7 kB / 370.2 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003681/0.02415, allocations: 1.405 MB / 371.6 MB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008979/0.02505, allocations: 250.2 kB / 371.8 MB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004012/0.02545, allocations: 151.3 kB / 372 MB, free: 8.656 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.02548, allocations: 8 kB / 372 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.25e-05/0.02553, allocations: 34.56 kB / 372 MB, free: 8.605 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 2.154e-06/0.02554, allocations: 0 / 372 MB, free: 8.605 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.001094/0.02663, allocations: 351.4 kB / 372.3 MB, free: 8.258 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001818/0.02681, allocations: 162.2 kB / 372.5 MB, free: 8.062 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000469/0.02728, allocations: 253.7 kB / 372.7 MB, free: 7.809 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.804e-05/0.02736, allocations: 49.69 kB / 372.8 MB, free: 7.754 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/0.02763, allocations: 216.5 kB / 373 MB, free: 7.539 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.02777, allocations: 95.2 kB / 373.1 MB, free: 7.445 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/0.02802, allocations: 98.14 kB / 373.2 MB, free: 7.344 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004785/0.0285, allocations: 346.7 kB / 373.5 MB, free: 6.996 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/0.02888, allocations: 132.9 kB / 373.7 MB, free: 6.863 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005208/0.0294, allocations: 275 kB / 373.9 MB, free: 6.547 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007485/0.03015, allocations: 342.7 kB / 374.3 MB, free: 6.168 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.03016, allocations: 0 / 374.3 MB, free: 6.168 MB / 346.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001048/0.0312, allocations: 474 kB / 374.7 MB, free: 5.699 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.03123, allocations: 9.812 kB / 374.7 MB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.03124, allocations: 4 kB / 374.7 MB, free: 5.688 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.024e-05/0.03127, allocations: 8 kB / 374.7 MB, free: 5.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.03155, allocations: 63.83 kB / 374.8 MB, free: 5.617 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.03157, allocations: 8 kB / 374.8 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003091/0.03188, allocations: 47.72 kB / 374.9 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.077e-05/0.03193, allocations: 32.08 kB / 374.9 MB, free: 5.531 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.inventory.inflow.stopInflow,$PRE.inventory.outflow.stopInflow,$PRE.producing.cloud.massPort.stopInflow,$PRE.producing.cloud.massPort.stopOutflow,$PRE.installedBase.inflow.stopInflow,$PRE.installedBase.inflow.stopOutflow,$PRE.cloud1.massPort.stopInflow,$PRE.cloud1.massPort.stopOutflow,cloud1.massPort.stopOutflow,cloud1.massPort.stopInflow,installedBase.inflow.stopInflow,producing.cloud.massPort.stopOutflow,inventory.inflow.stopInflow,installedBase.inflow.stopOutflow,producing.cloud.massPort.stopInflow,inventory.outflow.stopInflow,shipping.portA.stopInflow,producing.growing.portA.stopInflow,shipping.portB.stopOutflow,producing.growing.useB_rate,$PRE.producing.growing.useB_rate,producing.growing.useA_rate,$PRE.producing.growing.useA_rate,producing.growing.portB.stopOutflow,producing.growing.portB.stopInflow,producing.growing.portA.stopOutflow,shipping.useB_rate,$PRE.shipping.useB_rate,shipping.useA_rate,$PRE.shipping.useA_rate,shipping.portB.stopInflow,shipping.portA.stopOutflow,inventory.outflow.stopOutflow,$PRE.inventory.outflow.stopOutflow,inventory.inflow.stopOutflow,$PRE.inventory.inflow.stopOutflow) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002794/0.03221, allocations: 186.8 kB / 375.1 MB, free: 5.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.03235, allocations: 39.81 kB / 375.1 MB, free: 5.301 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.998e-05/0.03243, allocations: 34.27 kB / 375.2 MB, free: 5.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.03243, allocations: 4 kB / 375.2 MB, free: 5.266 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.03244, allocations: 0 / 375.2 MB, free: 5.266 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.03245, allocations: 4 kB / 375.2 MB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.03438, allocations: 1.067 MB / 376.2 MB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.03439, allocations: 4 kB / 376.2 MB, free: 4.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.03461, allocations: 43.91 kB / 376.3 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.03462, allocations: 4 kB / 376.3 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.03465, allocations: 12.41 kB / 376.3 MB, free: 4.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.03466, allocations: 4 kB / 376.3 MB, free: 4.047 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.261e-05/0.03467, allocations: 19.91 kB / 376.3 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.03574, allocations: 0.5407 MB / 376.9 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.03588, allocations: 51.83 kB / 376.9 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.305e-05/0.03593, allocations: 12 kB / 376.9 MB, free: 3.367 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.03618, allocations: 19.94 kB / 376.9 MB, free: 3.348 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.03631, allocations: 39.83 kB / 377 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.03634, allocations: 16 kB / 377 MB, free: 3.293 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002477/0.03659, allocations: 165.2 kB / 377.2 MB, free: 3.129 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03659, allocations: 0 / 377.2 MB, free: 3.129 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005625/0.03715, allocations: 91.78 kB / 377.2 MB, free: 3.039 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 5 (inventory.x,installedBase.x_hidden[1],installedBase.x_hidden[2],installedBase.x_hidden[3],installedBase.x_hidden[4]) * Number of discrete variables: 14 (inventory.outflow.stopOutflow,producing.growing.portB.stopOutflow,inventory.inflow.stopOutflow,shipping.portA.stopOutflow,shipping.useA_rate,shipping.portA.stopInflow,producing.growing.portA.stopInflow,shipping.portB.stopOutflow,producing.growing.useB_rate,producing.growing.portB.stopInflow,producing.growing.portA.stopOutflow,shipping.useB_rate,shipping.portB.stopInflow,producing.growing.useA_rate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002234/0.03738, allocations: 121.2 kB / 377.4 MB, free: 2.914 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008671/0.03824, allocations: 312 kB / 377.7 MB, free: 2.609 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.03825, allocations: 0 / 377.7 MB, free: 2.609 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003359/0.03858, allocations: 133.2 kB / 377.8 MB, free: 2.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007648/0.03935, allocations: 96.48 kB / 377.9 MB, free: 2.387 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.04106, allocations: 0.7106 MB / 378.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.04138, allocations: 198.8 kB / 378.8 MB, free: 1.391 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002316/0.04161, allocations: 47.27 kB / 378.8 MB, free: 1.344 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.04173, allocations: 32.48 kB / 378.9 MB, free: 1.312 MB / 346.7 MB Notification: Performance of SimCode: time 1.002e-06/0.04173, allocations: 0 / 378.9 MB, free: 1.312 MB / 346.7 MB Notification: Performance of Templates: time 0.01061/0.05235, allocations: 3.916 MB / 382.8 MB, free: 13.49 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChain.makefile [Timeout 660] (rm -f BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChain.pipe ; mkfifo BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChain.pipe ; head -c 1048576 < BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChain.pipe >> ../files/BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChain.sim & ./BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChain -abortSlowSimulation -alarm=480 -lv LOG_STATS > BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.900219767005183]