Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.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.0009877/0.0009877, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001142/0.001142, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9244/0.9244, allocations: 177.1 MB / 202.8 MB, free: 5.734 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-531:190: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-531:198: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.7231/0.7231, allocations: 154.5 MB / 413.7 MB, free: 0.8164 MB / 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.986e-06/2.986e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.471e-05, allocations: 8.797 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.00141/0.001435, allocations: 0.7097 MB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.002659, allocations: 1.279 MB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.06e-05/0.00271, allocations: 0 / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.00274, allocations: 11.88 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.686e-05/0.002807, allocations: 19.78 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005047/0.003312, allocations: 254.4 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.003515, allocations: 259.5 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.242e-05/0.003608, allocations: 12.22 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.003733, allocations: 135.8 kB / 0.6207 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.003848, allocations: 83.78 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.033e-05/0.003879, allocations: 24 kB / 0.6208 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.087e-05/0.003939, allocations: 32 kB / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.307e-05/0.003973, allocations: 35.88 kB / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.441e-05/0.004047, allocations: 83.86 kB / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.00428, allocations: 263.3 kB / 0.6212 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004282, allocations: 0 / 0.6212 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.062e-06/0.004284, allocations: 0 / 0.6212 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.004287, allocations: 0 / 0.6212 GB, free: 10.54 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004961/0.004783, allocations: 425.3 kB / 0.6216 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.004823, allocations: 13.47 kB / 0.6216 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.297e-05/0.004856, allocations: 38.73 kB / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.004905, allocations: 20.84 kB / 0.6216 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.005245, allocations: 193.8 kB / 0.6218 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.005267, allocations: 12.38 kB / 0.6218 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.005294, allocations: 20.36 kB / 0.6218 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.005456, allocations: 127.8 kB / 0.622 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.005463, allocations: 192 / 0.622 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.005476, allocations: 12.36 kB / 0.622 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.005482, allocations: 3.938 kB / 0.622 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.689e-05/0.005568, allocations: 59.95 kB / 0.622 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.006041, allocations: 455.8 kB / 0.6225 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.006233, allocations: 141.1 kB / 0.6226 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.041e-05/0.006294, allocations: 57.69 kB / 0.6227 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.006303, allocations: 4 kB / 0.6227 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002429/0.006546, allocations: 204.8 kB / 0.6229 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=22): time 1.002e-06/0.006547, allocations: 0 / 0.6229 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of matching and sorting (n=22): time 0.0003755/0.006922, allocations: 320.5 kB / 0.6232 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.006961, allocations: 85.09 kB / 0.6233 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.048e-05/0.007031, allocations: 134 kB / 0.6234 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.007057, allocations: 33.7 kB / 0.6234 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.007105, allocations: 104.7 kB / 0.6235 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.007136, allocations: 51.59 kB / 0.6236 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.121e-05/0.007217, allocations: 77.67 kB / 0.6236 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.218e-05/0.007289, allocations: 334.8 kB / 0.624 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.007426, allocations: 143.6 kB / 0.6241 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.007578, allocations: 219.6 kB / 0.6243 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.007766, allocations: 247 kB / 0.6245 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.007769, allocations: 0 / 0.6245 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003549/0.008124, allocations: 419.3 kB / 0.6249 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/0.008161, allocations: 63.39 kB / 0.625 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.008167, allocations: 4 kB / 0.625 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.008179, allocations: 7.984 kB / 0.625 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.789e-05/0.008237, allocations: 19.94 kB / 0.625 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.008243, allocations: 7.984 kB / 0.625 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.008417, allocations: 76.31 kB / 0.6251 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.008438, allocations: 19.92 kB / 0.6251 GB, free: 6.098 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 8.519e-05/0.008523, allocations: 136.8 kB / 0.6253 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.008539, allocations: 15.94 kB / 0.6253 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.008568, allocations: 20.31 kB / 0.6253 GB, free: 5.914 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.008571, allocations: 4 kB / 0.6253 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.008575, allocations: 4 kB / 0.6253 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.008578, allocations: 0 / 0.6253 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003771/0.008955, allocations: 0.5827 MB / 0.6259 GB, free: 5.273 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.008956, allocations: 0 / 0.6259 GB, free: 5.273 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.342e-05/0.00898, allocations: 15.92 kB / 0.6259 GB, free: 5.258 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.008982, allocations: 0 / 0.6259 GB, free: 5.258 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.008994, allocations: 11.98 kB / 0.6259 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.008996, allocations: 7.875 kB / 0.6259 GB, free: 5.238 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.008996, allocations: 0 / 0.6259 GB, free: 5.238 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.009257, allocations: 425.5 kB / 0.6263 GB, free: 4.809 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.009268, allocations: 23.83 kB / 0.6263 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.009288, allocations: 8 kB / 0.6263 GB, free: 4.777 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/0.00936, allocations: 7.984 kB / 0.6263 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.009406, allocations: 31.83 kB / 0.6264 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.009417, allocations: 15.98 kB / 0.6264 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.59e-05/0.009453, allocations: 95.27 kB / 0.6265 GB, free: 4.629 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.009453, allocations: 0 / 0.6265 GB, free: 4.629 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002298/0.009683, allocations: 59.98 kB / 0.6265 GB, free: 4.57 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.000474/0.01016, allocations: 0.9622 MB / 0.6275 GB, free: 3.582 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003535/0.01051, allocations: 376.7 kB / 0.6278 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01051, allocations: 4 kB / 0.6278 GB, free: 3.176 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.239e-05/0.0106, allocations: 90.77 kB / 0.6279 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.01086, allocations: 32.19 kB / 0.628 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.0126, allocations: 2.518 MB / 0.6304 GB, free: 352 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.778e-05/0.01266, allocations: 92.91 kB / 0.6305 GB, free: 240 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.254e-05/0.0127, allocations: 21.48 kB / 0.6305 GB, free: 220 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.062e-05/0.01276, allocations: 36.48 kB / 0.6306 GB, free: 180 kB / 0.5886 GB Notification: Performance of SimCode: time 7.81e-07/0.01276, allocations: 0 / 0.6306 GB, free: 180 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01524/0.02799, allocations: 5.048 MB / 0.6355 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.809/6.837, allocations: 3.938 kB / 0.6355 GB, free: 11.33 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Timer.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.580965535715222] Failed to read output from testmodel.py, exit status != 0: 6.921206201426685 6.935704399 6.928840846 Calling exit ...