Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Stage.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.0003193/0.0003193, 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.0002254/0.0002254, 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.1838/0.1838, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.1969/0.1969, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Controls.OBC.CDL.Integers.Validation.Stage,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Stage",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(IDEAS.Controls.OBC.CDL.Integers.Validation.Stage,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Stage",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.431e-05/3.559e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Stage): time 0.00222/0.002255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.00113/0.003385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 5.343e-05/0.003438, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 6.75e-05/0.003506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.00361, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.003868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.000153/0.004021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 6.211e-05/0.004083, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.000301/0.004384, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.00451, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.004539, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 3.165e-05/0.004571, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 6.436e-05/0.004635, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 5.821e-05/0.004694, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.004851, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 1.845e-05/0.004869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.232e-06/0.00487, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 7.014e-06/0.004877, 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008273/0.005705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.005751, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.00587, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.006068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.006107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 3.672e-05/0.006144, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.006469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.006478, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.006505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-06/0.006507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.006627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.007113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.007271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 6.06e-05/0.007332, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.007344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.007548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=30): time 2.114e-06/0.00755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=30): time 0.0002514/0.007801, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.007829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.265e-05/0.007902, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 5.843e-05/0.00796, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 2.158e-05/0.007982, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.008023, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.00808, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.984e-05/0.0081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 4.497e-05/0.008145, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 6.2e-05/0.008207, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 8.531e-05/0.008292, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.008295, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=54) (initialization): time 0.000154/0.008449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.00846, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.008464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.008478, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.008582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.008592, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.96e-05/0.008681, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.008695, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 52 (zerHolTim.y,$PRE.zerHolTim.y,sta.y,$PRE.sta.y,zerHolTim.checkLower,$PRE.zerHolTim.checkLower,zerHolTim.checkUpper,$PRE.zerHolTim.checkUpper,zerHolTim.lowerThreshold,$PRE.zerHolTim.lowerThreshold,zerHolTim.upperThreshold,$PRE.zerHolTim.upperThreshold,zerHolTim.tNext,$PRE.zerHolTim.tNext,sta.checkLower,$PRE.sta.checkLower,sta.checkUpper,$PRE.sta.checkUpper,sta.lowerThreshold,$PRE.sta.lowerThreshold,sta.upperThreshold,$PRE.sta.upperThreshold,sta.tNext,$PRE.sta.tNext,$whenCondition3,$whenCondition4,lesHolTim.y,$PRE.lesHolTim.y,sta1.y,$PRE.sta1.y,lesHolTim.checkLower,$PRE.lesHolTim.checkLower,lesHolTim.checkUpper,$PRE.lesHolTim.checkUpper,lesHolTim.lowerThreshold,$PRE.lesHolTim.lowerThreshold,lesHolTim.upperThreshold,$PRE.lesHolTim.upperThreshold,lesHolTim.tNext,$PRE.lesHolTim.tNext,sta1.checkLower,$PRE.sta1.checkLower,sta1.checkUpper,$PRE.sta1.checkUpper,sta1.lowerThreshold,$PRE.sta1.lowerThreshold,sta1.upperThreshold,$PRE.sta1.upperThreshold,sta1.tNext,$PRE.sta1.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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 9.093e-05/0.008786, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.008816, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.008855, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.008857, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.008862, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.008865, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.008979, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.008981, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.649e-05/0.009007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.009009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.009034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.009036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.009037, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.009214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.009236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.575e-05/0.009312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.009417, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.009554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.009582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 3.666e-05/0.009619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.935e-06/0.009622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0001647/0.009786, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition4,$whenCondition3,sta.y,sta.tNext,sta.upperThreshold,sta.lowerThreshold,sta.checkUpper,sta.checkLower,zerHolTim.y,zerHolTim.tNext,zerHolTim.upperThreshold,zerHolTim.lowerThreshold,zerHolTim.checkUpper,zerHolTim.checkLower,$whenCondition2,$whenCondition1,sta1.y,sta1.tNext,sta1.upperThreshold,sta1.lowerThreshold,sta1.checkUpper,sta1.checkLower,lesHolTim.y,lesHolTim.tNext,lesHolTim.upperThreshold,lesHolTim.lowerThreshold,lesHolTim.checkUpper,lesHolTim.checkLower) * Number of discrete states: 20 (sta1.lowerThreshold,lesHolTim.lowerThreshold,lesHolTim.checkLower,lesHolTim.checkUpper,lesHolTim.upperThreshold,sta1.checkLower,sta1.checkUpper,sta1.upperThreshold,sta1.tNext,lesHolTim.tNext,sta.lowerThreshold,zerHolTim.lowerThreshold,zerHolTim.checkLower,zerHolTim.checkUpper,zerHolTim.upperThreshold,sta.checkLower,sta.checkUpper,sta.upperThreshold,sta.tNext,zerHolTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.0001356/0.009922, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0002223/0.01014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.01015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 8.518e-05/0.01023, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.01047, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004669/0.01094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 3.456e-05/0.01097, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 6.579e-05/0.01104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.01118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.446e-05/0.0112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001311/0.01251, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.9668967556208372]