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.0007273/0.0007273, allocations: 72.45 kB / 19.9 MB, free: 16 kB / 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.0007473/0.0007473, allocations: 165.9 kB / 23.18 MB, free: 1.379 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.8404/0.8404, allocations: 177.2 MB / 203.6 MB, free: 5.781 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.7194/0.7194, allocations: 155 MB / 415 MB, free: 492 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.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008887/0.0008887, allocations: 71.89 kB / 0.6199 GB, free: 12.78 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4155, allocations: 102 MB / 0.7195 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001461/0.4169, allocations: 0.732 MB / 0.7202 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.4182, allocations: 1.277 MB / 0.7215 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.477e-05/0.4182, allocations: 5.406 kB / 0.7215 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.835e-05/0.4183, allocations: 10.41 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.479e-05/0.4183, allocations: 16.83 kB / 0.7215 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006018/0.419, allocations: 261.7 kB / 0.7217 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.4192, allocations: 261 kB / 0.722 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.4193, allocations: 36.39 kB / 0.722 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.4195, allocations: 149.2 kB / 0.7222 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.4196, allocations: 88.66 kB / 0.7223 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/0.4197, allocations: 24.59 kB / 0.7223 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.633e-05/0.4198, allocations: 38.22 kB / 0.7223 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.249e-05/0.4198, allocations: 31.91 kB / 0.7223 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.298e-05/0.4199, allocations: 93.75 kB / 0.7224 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.4202, allocations: 297 kB / 0.7227 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4202, allocations: 4 kB / 0.7227 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.906e-06/0.4202, allocations: 0.75 kB / 0.7227 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.964e-06/0.4202, allocations: 1.062 kB / 0.7227 GB, free: 21.53 MB / 0.6355 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.0004864/0.4207, allocations: 430.8 kB / 0.7231 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.4207, allocations: 11.06 kB / 0.7231 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.34e-05/0.4208, allocations: 17.61 kB / 0.7232 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.4211, allocations: 180.2 kB / 0.7233 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.4212, allocations: 14.72 kB / 0.7233 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.4212, allocations: 26.05 kB / 0.7234 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.4214, allocations: 127.9 kB / 0.7235 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.4214, allocations: 3.938 kB / 0.7235 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.4214, allocations: 8.281 kB / 0.7235 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4214, allocations: 2.188 kB / 0.7235 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.909e-05/0.4215, allocations: 73.89 kB / 0.7236 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.4219, allocations: 351 kB / 0.7239 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.4221, allocations: 75.3 kB / 0.724 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.215e-05/0.4221, allocations: 38.08 kB / 0.724 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-06/0.4221, allocations: 7.984 kB / 0.724 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.4223, allocations: 138.5 kB / 0.7242 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 2.715e-06/0.4224, allocations: 0 / 0.7242 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.0003677/0.4227, allocations: 243.4 kB / 0.7244 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.4228, allocations: 54.3 kB / 0.7244 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.321e-05/0.4228, allocations: 142.8 kB / 0.7246 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.4229, allocations: 30.17 kB / 0.7246 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.4229, allocations: 116.3 kB / 0.7247 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.4229, allocations: 30.98 kB / 0.7247 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.158e-05/0.423, allocations: 73.05 kB / 0.7248 GB, free: 20 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.305e-05/0.423, allocations: 321.8 kB / 0.7251 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.4232, allocations: 137.3 kB / 0.7253 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.4233, allocations: 188.1 kB / 0.7254 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.4235, allocations: 214.8 kB / 0.7256 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4235, allocations: 0 / 0.7256 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003369/0.4238, allocations: 374.6 kB / 0.726 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/0.4238, allocations: 68.64 kB / 0.7261 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.4238, allocations: 2.344 kB / 0.7261 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4239, allocations: 3.125 kB / 0.7261 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.155e-05/0.4239, allocations: 13 kB / 0.7261 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4239, allocations: 4 kB / 0.7261 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.4241, allocations: 62.16 kB / 0.7261 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.4241, allocations: 18.09 kB / 0.7262 GB, free: 18.92 MB / 0.6355 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.357e-05/0.4242, allocations: 135 kB / 0.7263 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.4242, allocations: 17.97 kB / 0.7263 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.4242, allocations: 12.38 kB / 0.7263 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.4242, allocations: 2.141 kB / 0.7263 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4242, allocations: 3.938 kB / 0.7263 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.4242, allocations: 2.391 kB / 0.7263 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.4246, allocations: 421.8 kB / 0.7267 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4246, allocations: 0.5625 kB / 0.7267 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.629e-06/0.4246, allocations: 6.234 kB / 0.7267 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.4246, allocations: 1.969 kB / 0.7267 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.4246, allocations: 4.672 kB / 0.7267 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4246, allocations: 4.562 kB / 0.7267 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.4246, allocations: 1.344 kB / 0.7267 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.4248, allocations: 297 kB / 0.727 GB, free: 18.28 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.4248, allocations: 11.17 kB / 0.727 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.4248, allocations: 4.406 kB / 0.727 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.163e-05/0.4249, allocations: 11.17 kB / 0.7271 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.4249, allocations: 14.84 kB / 0.7271 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.4249, allocations: 18.33 kB / 0.7271 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.244e-05/0.425, allocations: 97.45 kB / 0.7272 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.425, allocations: 1.5 kB / 0.7272 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002198/0.4252, allocations: 51.83 kB / 0.7272 GB, free: 18.16 MB / 0.6355 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.0001228/0.4253, allocations: 108.2 kB / 0.7273 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002879/0.4256, allocations: 325.8 kB / 0.7276 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4256, allocations: 0 / 0.7276 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.33e-05/0.4257, allocations: 59.67 kB / 0.7277 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.4259, allocations: 32.72 kB / 0.7277 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.4263, allocations: 292 kB / 0.728 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.53e-05/0.4264, allocations: 95.91 kB / 0.7281 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.4264, allocations: 16.72 kB / 0.7281 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of SimCode: time 5.61e-07/0.4264, allocations: 0 / 0.7281 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.004462/0.4308, allocations: 2.02 MB / 0.7301 GB, free: 17.3 MB / 0.6355 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: 5.29852133593522] Failed to read output from testmodel.py, exit status != 0: 0.4358805741649121 0.444079096 0.022220634000000003 Calling exit ...