Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00104/0.00104, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008813/0.0008813, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8604/0.8604, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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-531:686: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-531:694: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.72/0.72, allocations: 154.6 MB / 414.5 MB, free: 0.8203 MB / 378.7 MB [/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 179] 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: translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.833e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.001863/0.001892, allocations: 1.488 MB / 0.6207 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006132/0.002505, allocations: 446.8 kB / 0.6212 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.621e-05/0.002541, allocations: 0 / 0.6212 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.00257, allocations: 7.922 kB / 0.6212 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.63e-05/0.002646, allocations: 15.88 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.002788, allocations: 19.91 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.78e-05/0.002865, allocations: 55.84 kB / 0.6213 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.002964, allocations: 11.98 kB / 0.6213 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.166e-05/0.003025, allocations: 31.91 kB / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.808e-05/0.003083, allocations: 19.91 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.003107, allocations: 4 kB / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.186e-06/0.003115, allocations: 4 kB / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.003134, allocations: 11.94 kB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.00317, allocations: 15.97 kB / 0.6214 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.003277, allocations: 47.81 kB / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.00328, allocations: 0 / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.413e-06/0.003281, allocations: 0 / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.003285, allocations: 4 kB / 0.6214 GB, free: 11.05 MB / 0.5886 GB 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.000406/0.003691, allocations: 282.3 kB / 0.6217 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.003726, allocations: 8.031 kB / 0.6217 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.003759, allocations: 4.938 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.003865, allocations: 121.6 kB / 0.6218 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.003881, allocations: 8.375 kB / 0.6218 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.003893, allocations: 4.375 kB / 0.6218 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.003995, allocations: 58.23 kB / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.004004, allocations: 192 / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.004014, allocations: 4.375 kB / 0.6219 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.004021, allocations: 7.938 kB / 0.6219 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.34e-05/0.004074, allocations: 27.92 kB / 0.6219 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.004424, allocations: 232.5 kB / 0.6221 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.911e-05/0.004513, allocations: 54.59 kB / 0.6222 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.271e-05/0.004546, allocations: 24.89 kB / 0.6222 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.004557, allocations: 4 kB / 0.6222 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.004693, allocations: 71.38 kB / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.004694, allocations: 4 kB / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0001856/0.00488, allocations: 101.5 kB / 0.6224 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.004914, allocations: 55.41 kB / 0.6224 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.908e-05/0.004973, allocations: 109.8 kB / 0.6225 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.004986, allocations: 29.7 kB / 0.6226 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.00502, allocations: 84.08 kB / 0.6226 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.005042, allocations: 27.78 kB / 0.6227 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.005074, allocations: 37.64 kB / 0.6227 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.005146, allocations: 314.8 kB / 0.623 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.558e-05/0.005172, allocations: 15.98 kB / 0.623 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.782e-05/0.005209, allocations: 50.59 kB / 0.6231 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.475e-05/0.005274, allocations: 71.55 kB / 0.6231 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.005276, allocations: 0 / 0.6231 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.954e-05/0.005376, allocations: 101.5 kB / 0.6232 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.005391, allocations: 8 kB / 0.6232 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.005397, allocations: 0 / 0.6232 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.005409, allocations: 0 / 0.6232 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.619e-05/0.005475, allocations: 15.92 kB / 0.6233 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.00548, allocations: 4 kB / 0.6233 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.881e-05/0.005519, allocations: 8 kB / 0.6233 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.005524, allocations: 8.031 kB / 0.6233 GB, free: 8.938 MB / 0.5886 GB 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 6.737e-05/0.005592, allocations: 118.8 kB / 0.6234 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.005602, allocations: 11.89 kB / 0.6234 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.005624, allocations: 8.125 kB / 0.6234 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.005626, allocations: 0 / 0.6234 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.00563, allocations: 0 / 0.6234 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.005634, allocations: 4 kB / 0.6234 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.005891, allocations: 302 kB / 0.6237 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.005893, allocations: 0 / 0.6237 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.339e-05/0.005906, allocations: 7.938 kB / 0.6237 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.005908, allocations: 4 kB / 0.6237 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.005915, allocations: 0 / 0.6237 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.005916, allocations: 0 / 0.6237 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.005917, allocations: 480 / 0.6237 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.006024, allocations: 199.2 kB / 0.6239 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-06/0.00603, allocations: 0 / 0.6239 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.006041, allocations: 0 / 0.6239 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.956e-05/0.006081, allocations: 7.984 kB / 0.6239 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.006118, allocations: 11.98 kB / 0.6239 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.006124, allocations: 4 kB / 0.6239 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.982e-05/0.006154, allocations: 87.28 kB / 0.624 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006154, allocations: 0 / 0.624 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001585/0.006312, allocations: 15.95 kB / 0.624 GB, free: 8.109 MB / 0.5886 GB 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 8.34e-05/0.006396, allocations: 99.47 kB / 0.6241 GB, free: 8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.006506, allocations: 48.02 kB / 0.6242 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.006507, allocations: 0 / 0.6242 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.716e-05/0.006544, allocations: 27.92 kB / 0.6242 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.006749, allocations: 18.2 kB / 0.6242 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.007057, allocations: 186.6 kB / 0.6244 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.431e-05/0.007102, allocations: 67.34 kB / 0.6244 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.007129, allocations: 12.5 kB / 0.6245 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of SimCode: time 6.21e-07/0.00713, allocations: 0 / 0.6245 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of Templates: time 0.001654/0.008784, allocations: 0.8869 MB / 0.6253 GB, free: 6.715 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.820038262754679] Failed to read output from testmodel.py, exit status != 0: 0.013607526198029518 0.022233709 0.017432162 Calling exit ...