Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build 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.0003241/0.0003241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0004899/0.000814, 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.0003352/0.0003352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0004445/0.0007796, 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.1421/0.1421, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.04485/0.187, 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.02057/0.02057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.004414/0.02498, 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 7.82e-07/7.82e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.015e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LoveHateDynamics): time 0.007024/0.007044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.002052/0.009096, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0002705/0.009366, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0004216/0.009788, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.01003, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0007055/0.01073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0006967/0.01143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0006532/0.01208, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0008968/0.01298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.01329, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.0134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.01351, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.01369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.01388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0007316/0.01461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001079/0.01472, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.182e-06/0.01472, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.066e-05/0.01473, 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.001153/0.01589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.487e-05/0.01596, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006486/0.01661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005054/0.01712, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.01725, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.01737, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008454/0.01822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.01825, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.378e-05/0.01832, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.01834, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003494/0.01869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002705/0.0214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.02163, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.02185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.02187, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.0219, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=56): time 5.45e-06/0.0219, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=56): time 0.0003807/0.02228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.02231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.02249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 9.781e-05/0.02259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.02281, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.02292, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.02312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.292e-05/0.02315, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.02331, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.02354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.02388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.02389, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=130) (initialization): time 0.0006432/0.02454, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.02456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.02458, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.0246, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/0.02489, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.788e-05/0.02492, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.02517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/0.02523, 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.0002484/0.02548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 6.34e-05/0.02554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.335e-05/0.02563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.02563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-06/0.02564, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.02564, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.02698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.02699, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.02715, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.02728, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/0.0273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/0.02733, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-05/0.02735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/0.02736, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004715/0.02783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.02796, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.02817, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.02833, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.02836, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 8.48e-05/0.02845, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 8.756e-06/0.02846, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0008478/0.0293, 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.0001833/0.02949, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0005008/0.02999, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.228e-05/0.03001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.03018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000719/0.0309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.03245, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.03262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0002229/0.03285, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/0.03316, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.073e-05/0.03319, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001619/0.03481, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.6719070822000504]