Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.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.00072/0.00072, allocations: 76.55 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.000737/0.000737, allocations: 181.9 kB / 23.21 MB, free: 1.352 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.8133/0.8133, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.6726/0.6726, allocations: 154.5 MB / 414.5 MB, free: 0.8594 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: translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 0.6193 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.623e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001153/0.001169, allocations: 0.7424 MB / 0.62 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.002519, allocations: 1.271 MB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.36e-05/0.002582, allocations: 8 kB / 0.6213 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.507e-05/0.002627, allocations: 11.86 kB / 0.6213 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.565e-05/0.002713, allocations: 15.8 kB / 0.6213 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006409/0.003354, allocations: 259.2 kB / 0.6215 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.003609, allocations: 251.6 kB / 0.6218 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.003758, allocations: 41.27 kB / 0.6218 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.003905, allocations: 139.8 kB / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.004047, allocations: 95.7 kB / 0.622 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.621e-05/0.004083, allocations: 24 kB / 0.6221 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.751e-05/0.004161, allocations: 36 kB / 0.6221 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.23e-05/0.004203, allocations: 35.89 kB / 0.6221 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.223e-05/0.004275, allocations: 75.86 kB / 0.6222 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.004527, allocations: 291.2 kB / 0.6225 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.004528, allocations: 4 kB / 0.6225 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.82e-07/0.004529, allocations: 0 / 0.6225 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.004533, allocations: 0 / 0.6225 GB, free: 9.973 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005123/0.005046, allocations: 421.2 kB / 0.6229 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.00508, allocations: 17.47 kB / 0.6229 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.005132, allocations: 20.84 kB / 0.6229 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.005456, allocations: 176.9 kB / 0.6231 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.005471, allocations: 8.375 kB / 0.6231 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.005497, allocations: 20.38 kB / 0.6231 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.00566, allocations: 137.4 kB / 0.6232 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.005668, allocations: 192 / 0.6232 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.005681, allocations: 4.375 kB / 0.6232 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.005687, allocations: 8.125 kB / 0.6233 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.957e-05/0.005776, allocations: 75.94 kB / 0.6233 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.006171, allocations: 356 kB / 0.6237 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.006291, allocations: 78.48 kB / 0.6237 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.903e-05/0.00633, allocations: 36.83 kB / 0.6238 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.006337, allocations: 0 / 0.6238 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.006504, allocations: 137.9 kB / 0.6239 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.006506, allocations: 0 / 0.6239 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.0003062/0.006812, allocations: 253.4 kB / 0.6242 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.006845, allocations: 51.41 kB / 0.6242 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.368e-05/0.006929, allocations: 149.5 kB / 0.6243 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.006951, allocations: 29.7 kB / 0.6244 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.007006, allocations: 112.5 kB / 0.6245 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.007027, allocations: 43.66 kB / 0.6245 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-05/0.007097, allocations: 65.69 kB / 0.6246 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.245e-05/0.00717, allocations: 318.8 kB / 0.6249 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.007284, allocations: 131.3 kB / 0.625 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.007411, allocations: 188.7 kB / 0.6252 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.007562, allocations: 217.9 kB / 0.6254 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.007564, allocations: 0 / 0.6254 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003018/0.007866, allocations: 376.1 kB / 0.6258 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003064/0.008172, allocations: 67.39 kB / 0.6258 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.008177, allocations: 0 / 0.6258 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.008191, allocations: 7.938 kB / 0.6258 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.636e-05/0.008207, allocations: 4 kB / 0.6258 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.008213, allocations: 4 kB / 0.6258 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.008375, allocations: 67.98 kB / 0.6259 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.008395, allocations: 19.98 kB / 0.6259 GB, free: 6.145 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: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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.251e-05/0.008478, allocations: 130.8 kB / 0.626 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.008491, allocations: 19.89 kB / 0.6261 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.008518, allocations: 12.78 kB / 0.6261 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.008522, allocations: 3.938 kB / 0.6261 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.008526, allocations: 3.938 kB / 0.6261 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.00853, allocations: 0 / 0.6261 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.00881, allocations: 422 kB / 0.6265 GB, free: 5.512 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.008811, allocations: 0 / 0.6265 GB, free: 5.512 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.651e-06/0.008816, allocations: 4 kB / 0.6265 GB, free: 5.508 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.008819, allocations: 4 kB / 0.6265 GB, free: 5.504 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.008829, allocations: 7.922 kB / 0.6265 GB, free: 5.496 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.00883, allocations: 0 / 0.6265 GB, free: 5.496 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.008832, allocations: 7.938 kB / 0.6265 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.009019, allocations: 294.1 kB / 0.6268 GB, free: 5.188 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.00903, allocations: 15.91 kB / 0.6268 GB, free: 5.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.009044, allocations: 7.922 kB / 0.6268 GB, free: 5.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.54e-05/0.00908, allocations: 8 kB / 0.6268 GB, free: 5.156 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.009115, allocations: 19.91 kB / 0.6268 GB, free: 5.137 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.009131, allocations: 12 kB / 0.6269 GB, free: 5.125 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.72e-05/0.009168, allocations: 95.27 kB / 0.6269 GB, free: 5.031 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009168, allocations: 0 / 0.6269 GB, free: 5.031 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001817/0.00935, allocations: 43.98 kB / 0.627 GB, free: 4.988 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: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * 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.0001103/0.00946, allocations: 115.2 kB / 0.6271 GB, free: 4.867 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002799/0.00974, allocations: 326.4 kB / 0.6274 GB, free: 4.512 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.009741, allocations: 4.062 kB / 0.6274 GB, free: 4.508 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.874e-05/0.00981, allocations: 59.91 kB / 0.6275 GB, free: 4.449 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.01003, allocations: 19.98 kB / 0.6275 GB, free: 4.43 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.01037, allocations: 287.8 kB / 0.6278 GB, free: 4.117 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.718e-05/0.01043, allocations: 98.78 kB / 0.6279 GB, free: 4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.283e-05/0.01045, allocations: 16.48 kB / 0.6279 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/0.01045, allocations: 0 / 0.6279 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of Templates: time 0.002507/0.01296, allocations: 2.002 MB / 0.6298 GB, free: 1.996 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.876672759652138] Failed to read output from testmodel.py, exit status != 0: 0.017644436098635197 0.025122189000000003 0.019068889000000002 Calling exit ...