Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008642/0.0008642, allocations: 85.17 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [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.0008942/0.0008942, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [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.8787/0.8787, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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.7695/0.7695, allocations: 154.9 MB / 415.1 MB, free: 260 kB / 378.7 MB [/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 179] 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: translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.5211 GB, free: 464 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.176e-05/1.315e-05, allocations: 4.141 kB / 0.5211 GB, free: 460 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.001728/0.001741, allocations: 1.516 MB / 0.5226 GB, free: 14.95 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005533/0.002294, allocations: 462.2 kB / 0.523 GB, free: 14.5 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.704e-05/0.002331, allocations: 4.766 kB / 0.523 GB, free: 14.49 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.492e-05/0.002356, allocations: 3.938 kB / 0.523 GB, free: 14.49 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.217e-05/0.002428, allocations: 16.61 kB / 0.523 GB, free: 14.47 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001194/0.002548, allocations: 19.92 kB / 0.523 GB, free: 14.45 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.37e-05/0.002611, allocations: 52.73 kB / 0.5231 GB, free: 14.4 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.671e-05/0.002688, allocations: 8 kB / 0.5231 GB, free: 14.39 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.966e-05/0.002748, allocations: 37.12 kB / 0.5231 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.43e-05/0.002802, allocations: 11.97 kB / 0.5231 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.00282, allocations: 4 kB / 0.5231 GB, free: 14.34 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-06/0.002828, allocations: 4 kB / 0.5231 GB, free: 14.34 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.002846, allocations: 16.55 kB / 0.5232 GB, free: 14.32 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.002871, allocations: 17.8 kB / 0.5232 GB, free: 14.31 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 7.45e-05/0.002945, allocations: 35.83 kB / 0.5232 GB, free: 14.27 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.002947, allocations: 0 / 0.5232 GB, free: 14.27 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.002947, allocations: 0 / 0.5232 GB, free: 14.27 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.545e-06/0.00295, allocations: 0 / 0.5232 GB, free: 14.27 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003092/0.003259, allocations: 390.1 kB / 0.5236 GB, free: 13.86 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.003294, allocations: 12.03 kB / 0.5236 GB, free: 13.85 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.401e-05/0.003318, allocations: 4.938 kB / 0.5236 GB, free: 13.84 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.416e-05/0.003382, allocations: 116.5 kB / 0.5237 GB, free: 13.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.003392, allocations: 9.656 kB / 0.5237 GB, free: 13.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.0034, allocations: 4.375 kB / 0.5237 GB, free: 13.69 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.844e-05/0.003468, allocations: 46.23 kB / 0.5238 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.003475, allocations: 0.8125 kB / 0.5238 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-06/0.00348, allocations: 384 / 0.5238 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.003486, allocations: 8.688 kB / 0.5238 GB, free: 13.63 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.367e-05/0.00351, allocations: 15.92 kB / 0.5238 GB, free: 13.62 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002409/0.003751, allocations: 265.8 kB / 0.5241 GB, free: 13.33 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.027e-05/0.003811, allocations: 55.08 kB / 0.5241 GB, free: 13.27 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.947e-05/0.003831, allocations: 24.78 kB / 0.5241 GB, free: 13.24 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-06/0.003837, allocations: 0 / 0.5241 GB, free: 13.24 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.74e-05/0.003914, allocations: 80.61 kB / 0.5242 GB, free: 13.15 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 8.81e-07/0.003915, allocations: 0 / 0.5242 GB, free: 13.15 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001295/0.004044, allocations: 89.55 kB / 0.5243 GB, free: 13.05 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.004072, allocations: 55.41 kB / 0.5243 GB, free: 12.99 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.881e-05/0.004131, allocations: 173.8 kB / 0.5245 GB, free: 12.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.004141, allocations: 25.7 kB / 0.5245 GB, free: 12.77 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.00418, allocations: 138.9 kB / 0.5247 GB, free: 12.63 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.0042, allocations: 23.78 kB / 0.5247 GB, free: 12.61 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.00423, allocations: 35.3 kB / 0.5247 GB, free: 12.56 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.004324, allocations: 0.4884 MB / 0.5252 GB, free: 12.06 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/0.004336, allocations: 8.562 kB / 0.5252 GB, free: 12.05 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.004e-05/0.004366, allocations: 54.8 kB / 0.5253 GB, free: 11.99 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.296e-05/0.004419, allocations: 63.62 kB / 0.5253 GB, free: 11.91 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.004421, allocations: 0 / 0.5253 GB, free: 11.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.15e-05/0.004502, allocations: 86.98 kB / 0.5254 GB, free: 11.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.004512, allocations: 7.984 kB / 0.5254 GB, free: 11.81 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.004516, allocations: 0 / 0.5254 GB, free: 11.81 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.004527, allocations: 4 kB / 0.5254 GB, free: 11.81 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.845e-05/0.004575, allocations: 16.56 kB / 0.5254 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.004578, allocations: 4 kB / 0.5254 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.907e-05/0.004607, allocations: 4.625 kB / 0.5254 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-06/0.00461, allocations: 1.938 kB / 0.5254 GB, free: 11.79 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0002991/0.004909, allocations: 168.6 kB / 0.5256 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.00492, allocations: 11.89 kB / 0.5256 GB, free: 11.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.074e-05/0.004941, allocations: 8.125 kB / 0.5256 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.004942, allocations: 0 / 0.5256 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.004944, allocations: 0.5625 kB / 0.5256 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.004947, allocations: 0.7812 kB / 0.5256 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.005146, allocations: 333.8 kB / 0.5259 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.005147, allocations: 1.969 kB / 0.5259 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.228e-05/0.005159, allocations: 4.281 kB / 0.5259 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.005161, allocations: 64 / 0.5259 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.005167, allocations: 7.984 kB / 0.526 GB, free: 11.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.52e-07/0.005167, allocations: 0 / 0.526 GB, free: 11.22 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005168, allocations: 2.75 kB / 0.526 GB, free: 11.22 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.561e-05/0.005264, allocations: 231.8 kB / 0.5262 GB, free: 10.97 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.005272, allocations: 7.984 kB / 0.5262 GB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.165e-06/0.00528, allocations: 7.938 kB / 0.5262 GB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.303e-05/0.005313, allocations: 4 kB / 0.5262 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.005341, allocations: 3.984 kB / 0.5262 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.005344, allocations: 4 kB / 0.5262 GB, free: 10.95 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.98e-05/0.005374, allocations: 128.9 kB / 0.5263 GB, free: 10.82 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005374, allocations: 0 / 0.5263 GB, free: 10.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001422/0.005516, allocations: 16 kB / 0.5263 GB, free: 10.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 5.944e-05/0.005576, allocations: 93.03 kB / 0.5264 GB, free: 10.71 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.221e-05/0.005648, allocations: 55.52 kB / 0.5265 GB, free: 10.65 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.00565, allocations: 4.875 kB / 0.5265 GB, free: 10.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.759e-05/0.005677, allocations: 19.69 kB / 0.5265 GB, free: 10.62 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.00584, allocations: 16.58 kB / 0.5265 GB, free: 10.61 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/0.006049, allocations: 158.8 kB / 0.5267 GB, free: 10.42 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.97e-05/0.006079, allocations: 66.12 kB / 0.5267 GB, free: 10.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.034e-05/0.006099, allocations: 7.984 kB / 0.5267 GB, free: 10.33 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.006146, allocations: 74.2 kB / 0.5268 GB, free: 10.26 MB / 458.7 MB Notification: Performance of SimCode: time 3.71e-07/0.006146, allocations: 0 / 0.5268 GB, free: 10.26 MB / 458.7 MB Notification: Performance of Templates: time 0.001991/0.008137, allocations: 0.9024 MB / 0.5277 GB, free: 9.41 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.288800661917776]