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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 102.5 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 250 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo): time 0.3188/0.3188, allocations: 31.57 MB / 336.6 MB, free: 9.98 MB / 270.1 MB [Timeout remaining time 89] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001944/0.001944, allocations: 71.89 kB / 470.8 MB, free: 7.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3274, allocations: 59.49 MB / 0.5179 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.SimpleProductionChain): time 0.005491/0.3329, allocations: 5.415 MB / 0.5232 GB, free: 4.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.3341, allocations: 0.6126 MB / 0.5238 GB, free: 4.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.3343, allocations: 11.84 kB / 0.5238 GB, free: 4.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.3345, allocations: 80.64 kB / 0.5239 GB, free: 4.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.3347, allocations: 68.81 kB / 0.5239 GB, free: 4.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.3352, allocations: 190.4 kB / 0.5241 GB, free: 4.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004315/0.3356, allocations: 469.8 kB / 0.5246 GB, free: 3.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/0.3359, allocations: 160.3 kB / 0.5247 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.3361, allocations: 193.7 kB / 0.5249 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.3363, allocations: 202.6 kB / 0.5251 GB, free: 3.516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.548e-05/0.3364, allocations: 44.5 kB / 0.5251 GB, free: 3.516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.3365, allocations: 51.39 kB / 0.5252 GB, free: 3.516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.3366, allocations: 106.9 kB / 0.5253 GB, free: 3.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.3367, allocations: 214.4 kB / 0.5255 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004832/0.3372, allocations: 454.8 kB / 0.5259 GB, free: 3.098 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3372, allocations: 1.312 kB / 0.5259 GB, free: 3.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3372, allocations: 3.938 kB / 0.5259 GB, free: 3.094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.3372, allocations: 0 / 0.5259 GB, free: 3.094 MB / 382.1 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.001018/0.3382, allocations: 0.6996 MB / 0.5266 GB, free: 2.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.3383, allocations: 9.938 kB / 0.5266 GB, free: 2.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003137/0.3386, allocations: 70.88 kB / 0.5267 GB, free: 2.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.339, allocations: 336.6 kB / 0.527 GB, free: 2.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/0.339, allocations: 35.84 kB / 0.5271 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.034e-05/0.3391, allocations: 51.3 kB / 0.5271 GB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006697/0.3397, allocations: 419.7 kB / 0.5275 GB, free: 1.969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.3397, allocations: 0 / 0.5275 GB, free: 1.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.564e-05/0.3398, allocations: 16.44 kB / 0.5275 GB, free: 1.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.3398, allocations: 10.47 kB / 0.5275 GB, free: 1.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005177/0.3403, allocations: 250.1 kB / 0.5278 GB, free: 1.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.3421, allocations: 1.659 MB / 0.5294 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005517/0.3427, allocations: 243.6 kB / 0.5296 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002557/0.3429, allocations: 147.3 kB / 0.5298 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.343, allocations: 12 kB / 0.5298 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.343, allocations: 41.83 kB / 0.5298 GB, free: 332 kB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.492e-06/0.343, allocations: 0 / 0.5298 GB, free: 332 kB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0007793/0.3437, allocations: 349.3 kB / 0.5301 GB, free: 180 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/0.3438, allocations: 171.3 kB / 0.5303 GB, free: 15.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.3441, allocations: 268 kB / 0.5306 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/0.3442, allocations: 40.55 kB / 0.5306 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.3444, allocations: 222 kB / 0.5308 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.687e-05/0.3445, allocations: 86.2 kB / 0.5309 GB, free: 15.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.3446, allocations: 101.5 kB / 0.531 GB, free: 15.47 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.3448, allocations: 339.7 kB / 0.5313 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.3451, allocations: 139.8 kB / 0.5315 GB, free: 15.1 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004223/0.3456, allocations: 245 kB / 0.5317 GB, free: 14.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006153/0.3462, allocations: 347.2 kB / 0.532 GB, free: 14.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3462, allocations: 5.062 kB / 0.532 GB, free: 14.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009247/0.3471, allocations: 456.1 kB / 0.5325 GB, free: 14.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.3471, allocations: 6.594 kB / 0.5325 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3471, allocations: 3.844 kB / 0.5325 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.3472, allocations: 9.5 kB / 0.5325 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.3475, allocations: 68.8 kB / 0.5325 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.3475, allocations: 5.312 kB / 0.5325 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/0.3478, allocations: 56.64 kB / 0.5326 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/0.3478, allocations: 18.69 kB / 0.5326 GB, free: 14.45 MB / 398.1 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.0002395/0.3481, allocations: 190.9 kB / 0.5328 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.3482, allocations: 34 kB / 0.5328 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.074e-05/0.3483, allocations: 31.95 kB / 0.5329 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.3483, allocations: 7.281 kB / 0.5329 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.3483, allocations: 2.219 kB / 0.5329 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.3483, allocations: 2.375 kB / 0.5329 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.3501, allocations: 1.184 MB / 0.534 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.3501, allocations: 6.828 kB / 0.534 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.3503, allocations: 42.3 kB / 0.5341 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.3503, allocations: 4.938 kB / 0.5341 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.3503, allocations: 14.98 kB / 0.5341 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.3503, allocations: 5.359 kB / 0.5341 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.3503, allocations: 8.438 kB / 0.5341 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008656/0.3512, allocations: 0.5382 MB / 0.5346 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.3513, allocations: 132.7 kB / 0.5348 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.571e-05/0.3514, allocations: 12.45 kB / 0.5348 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.3516, allocations: 22.34 kB / 0.5348 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.897e-05/0.3517, allocations: 38.66 kB / 0.5348 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.3517, allocations: 17.12 kB / 0.5348 GB, free: 12.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002065/0.3519, allocations: 174.5 kB / 0.535 GB, free: 12.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3519, allocations: 1.062 kB / 0.535 GB, free: 12.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004616/0.3524, allocations: 100.2 kB / 0.5351 GB, free: 12.63 MB / 398.1 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.0001406/0.3525, allocations: 126.4 kB / 0.5352 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006996/0.3532, allocations: 303.3 kB / 0.5355 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3532, allocations: 1.875 kB / 0.5355 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002793/0.3535, allocations: 132.4 kB / 0.5357 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005878/0.3541, allocations: 81.66 kB / 0.5357 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.3554, allocations: 0.7685 MB / 0.5365 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004748/0.3559, allocations: 0.7917 MB / 0.5373 GB, free: 11.1 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.356, allocations: 33.75 kB / 0.5373 GB, free: 11.09 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.356, allocations: 0 / 0.5373 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Templates: time 0.007723/0.3637, allocations: 4.35 MB / 0.5415 GB, free: 9.863 MB / 398.1 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]