Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_BusinessSimulation.Examples.LoveHateDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002519/0.0002519, allocations: 0 / 0, free: 0 / 0 " [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.0001903/0.0001903, allocations: 0 / 0, free: 0 / 0 " [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 0.09603/0.09603, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.01564/0.01564, allocations: 0 / 0, free: 0 / 0 " [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: simulate(BusinessSimulation.Examples.LoveHateDynamics,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=500,outputFormat="empty",variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.LoveHateDynamics",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(BusinessSimulation.Examples.LoveHateDynamics,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=500,outputFormat="empty",variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.LoveHateDynamics",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.464e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LoveHateDynamics): time 0.007657/0.007682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.002132/0.009814, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0003248/0.01014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0004151/0.01055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.01082, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0007628/0.01158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0007615/0.01234, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0008231/0.01316, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0008057/0.01397, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0003191/0.01429, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.01441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.01453, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0002446/0.01478, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0002774/0.01505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0008679/0.01592, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001092/0.01603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.112e-06/0.01603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 8.185e-06/0.01604, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.001117/0.01716, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.958e-05/0.01724, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007207/0.01796, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005539/0.01851, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.01865, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.01878, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009309/0.01971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.01974, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.866e-05/0.01982, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.01985, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003784/0.02022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002934/0.02316, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.0234, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.02363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.02366, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.02368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=56): time 5.751e-06/0.02369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=56): time 0.0004251/0.02411, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.02414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.02436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.000102/0.02446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.0247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.02482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.02504, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.425e-05/0.02507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.02525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.02551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0003823/0.02589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.0259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=130) (initialization): time 0.0007131/0.02662, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.02664, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.02666, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/0.02669, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.02694, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.063e-05/0.02697, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.02725, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/0.02731, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 88 ($PRE.romeo.inflow.stopInflow,$PRE.romeo.outflow.stopInflow,$PRE.romeo.inflow.stopOutflow,$PRE.romeo.outflow.stopOutflow,$PRE.juliet.inflow.stopInflow,$PRE.juliet.outflow.stopInflow,$PRE.juliet.inflow.stopOutflow,$PRE.juliet.outflow.stopOutflow,$PRE.loving.growingA1.cloud.massPort.stopInflow,$PRE.loving.growingA1.cloud.massPort.stopOutflow,$PRE.loving.growingA2.cloud.massPort.stopInflow,$PRE.loving.growingA2.cloud.massPort.stopOutflow,$PRE.loving.growingA3.cloud.massPort.stopInflow,$PRE.loving.growingA3.cloud.massPort.stopOutflow,$PRE.loving.growingB1.cloud.massPort.stopInflow,$PRE.loving.growingB1.cloud.massPort.stopOutflow,$PRE.loving.growingB2.cloud.massPort.stopInflow,$PRE.loving.growingB2.cloud.massPort.stopOutflow,$PRE.loving.growingB3.cloud.massPort.stopInflow,$PRE.loving.growingB3.cloud.massPort.stopOutflow,romeo.inflow.stopInflow,romeo.inflow.stopOutflow,juliet.outflow.stopInflow,juliet.outflow.stopOutflow,romeo.outflow.stopInflow,romeo.outflow.stopOutflow,juliet.inflow.stopInflow,juliet.inflow.stopOutflow,loving.growingA1.cloud.massPort.stopInflow,loving.growingA1.cloud.massPort.stopOutflow,loving.growingA2.cloud.massPort.stopInflow,loving.growingA2.cloud.massPort.stopOutflow,loving.growingA3.cloud.massPort.stopInflow,loving.growingA3.cloud.massPort.stopOutflow,loving.growingB1.cloud.massPort.stopInflow,loving.growingB1.cloud.massPort.stopOutflow,loving.growingB2.cloud.massPort.stopInflow,loving.growingB2.cloud.massPort.stopOutflow,loving.growingB3.cloud.massPort.stopInflow,loving.growingB3.cloud.massPort.stopOutflow,loving.growingB3.switching.useB_rate,$PRE.loving.growingB3.switching.useB_rate,loving.growingB3.switching.useA_rate,$PRE.loving.growingB3.switching.useA_rate,loving.growingB3.switching.portB.stopOutflow,loving.growingB3.switching.portB.stopInflow,loving.growingB3.switching.portA.stopOutflow,loving.growingB3.switching.portA.stopInflow,loving.growingB2.changing.useB_rate,$PRE.loving.growingB2.changing.useB_rate,loving.growingB2.changing.useA_rate,$PRE.loving.growingB2.changing.useA_rate,loving.growingB2.changing.portB.stopOutflow,loving.growingB2.changing.portB.stopInflow,loving.growingB2.changing.portA.stopOutflow,loving.growingB2.changing.portA.stopInflow,loving.growingB1.switching.useB_rate,$PRE.loving.growingB1.switching.useB_rate,loving.growingB1.switching.useA_rate,$PRE.loving.growingB1.switching.useA_rate,loving.growingB1.switching.portB.stopOutflow,loving.growingB1.switching.portB.stopInflow,loving.growingB1.switching.portA.stopOutflow,loving.growingB1.switching.portA.stopInflow,loving.growingA3.switching.useB_rate,$PRE.loving.growingA3.switching.useB_rate,loving.growingA3.switching.useA_rate,$PRE.loving.growingA3.switching.useA_rate,loving.growingA3.switching.portB.stopOutflow,loving.growingA3.switching.portB.stopInflow,loving.growingA3.switching.portA.stopOutflow,loving.growingA3.switching.portA.stopInflow,loving.growingA2.changing.useB_rate,$PRE.loving.growingA2.changing.useB_rate,loving.growingA2.changing.useA_rate,$PRE.loving.growingA2.changing.useA_rate,loving.growingA2.changing.portB.stopOutflow,loving.growingA2.changing.portB.stopInflow,loving.growingA2.changing.portA.stopOutflow,loving.growingA2.changing.portA.stopInflow,loving.growingA1.switching.useB_rate,$PRE.loving.growingA1.switching.useB_rate,loving.growingA1.switching.useA_rate,$PRE.loving.growingA1.switching.useA_rate,loving.growingA1.switching.portB.stopOutflow,loving.growingA1.switching.portB.stopInflow,loving.growingA1.switching.portA.stopOutflow,loving.growingA1.switching.portA.stopInflow) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 130 * 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.0002841/0.02759, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/0.02765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.005e-05/0.02774, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.02775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.02776, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.02776, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.02919, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.0292, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.02935, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-05/0.02936, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/0.0294, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.701e-05/0.02941, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/0.02943, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005162/0.02994, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.03008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.03021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.03044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.03061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.03065, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 9.67e-05/0.03074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 9.698e-06/0.03075, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0009267/0.03168, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (romeo.x,juliet.x) * Number of discrete variables: 36 (loving.growingA2.changing.useA_rate,loving.growingA2.changing.useB_rate,loving.growingA3.switching.useA_rate,loving.growingA3.switching.useB_rate,loving.growingB2.changing.useA_rate,loving.growingB2.changing.useB_rate,loving.growingB3.switching.useA_rate,loving.growingB3.switching.useB_rate,loving.growingA3.switching.portB.stopInflow,loving.growingA2.changing.portB.stopInflow,loving.growingA1.switching.portB.stopInflow,loving.growingA3.switching.portB.stopOutflow,loving.growingA2.changing.portB.stopOutflow,loving.growingA1.switching.portB.stopOutflow,loving.growingB3.switching.portB.stopInflow,loving.growingB2.changing.portB.stopInflow,loving.growingB1.switching.portB.stopInflow,loving.growingB3.switching.portB.stopOutflow,loving.growingB2.changing.portB.stopOutflow,loving.growingB1.switching.portB.stopOutflow,loving.growingA1.switching.portA.stopInflow,loving.growingA1.switching.portA.stopOutflow,loving.growingA2.changing.portA.stopInflow,loving.growingA2.changing.portA.stopOutflow,loving.growingA3.switching.portA.stopInflow,loving.growingA3.switching.portA.stopOutflow,loving.growingB1.switching.portA.stopInflow,loving.growingB1.switching.portA.stopOutflow,loving.growingB2.changing.portA.stopInflow,loving.growingB2.changing.portA.stopOutflow,loving.growingB3.switching.portA.stopInflow,loving.growingB3.switching.portA.stopOutflow,loving.growingA1.switching.useA_rate,loving.growingA1.switching.useB_rate,loving.growingB1.switching.useA_rate,loving.growingB1.switching.useB_rate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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.0001891/0.03187, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0005489/0.03242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.03242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.03262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009602/0.03358, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.03482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.03499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0002124/0.0352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/0.03549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.175e-05/0.03552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.00171/0.03723, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.7033206461928785]