Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.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.0002738/0.0002738, 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.0002326/0.0002326, 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.2059/0.2059, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.2027/0.2027, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Discrete.Examples.HysteresisRelease_Cooling,startTime=0,stopTime=86400,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,startTime=0,stopTime=86400,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.418e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.001935/0.001959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0006681/0.002628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 5.928e-05/0.002687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 8.785e-05/0.002775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 9.306e-05/0.002868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.00303, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.000119/0.003149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 8.265e-05/0.003232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.003382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 6.175e-05/0.003443, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.851e-05/0.003462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 2.754e-05/0.003489, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 2.615e-05/0.003516, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.003553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.003676, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 1.291e-05/0.003689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 7.92e-07/0.00369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 9.507e-06/0.003699, 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005778/0.004277, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.004331, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.004455, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.004613, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.625e-05/0.00468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.004705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.004897, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.004909, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.004926, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-06/0.004928, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 7.813e-05/0.005006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.005355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.005508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 3.082e-05/0.005539, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.005552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.005566, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=12): time 2.395e-06/0.005569, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=12): time 0.0001418/0.005711, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/0.005732, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.692e-05/0.005789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.005822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 4.032e-05/0.005863, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.005889, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.005928, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.706e-05/0.005945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.005965, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.006099, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 5.384e-05/0.006153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.006155, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001374/0.006292, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 9.709e-06/0.006302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.006305, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.006321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.197e-05/0.006393, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.006399, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.426e-05/0.006444, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.006453, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (con.y_boolean,$PRE.con.y_boolean) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 5.451e-05/0.006507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.006531, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.451e-05/0.006566, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.006567, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.006572, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.006575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.006731, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.006732, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-05/0.006794, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.006796, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-05/0.006851, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.006853, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.006854, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.006991, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 2.179e-05/0.007013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.007054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.824e-05/0.007112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.00716, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.007166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 2.205e-05/0.007188, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.274e-06/0.00719, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0001555/0.007346, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cap.T) * Number of discrete variables: 1 (con.y_boolean) * Number of discrete states: 1 (con.y_boolean) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 8.28e-05/0.007428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0001127/0.007541, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007543, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 3.396e-05/0.007576, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.007852, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005354/0.008387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 2.745e-05/0.008415, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 3.719e-05/0.008452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 8.581e-05/0.008538, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.29e-05/0.008551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0008215/0.009372, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.953843979164958]