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.001015/0.001015, allocations: 81.95 kB / 19.87 MB, free: 4.625 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.0009383/0.0009383, allocations: 174 kB / 23.28 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.9331/0.9331, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.8461/0.8461, allocations: 154.9 MB / 415.1 MB, free: 256 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: Performance of FrontEnd - loaded program: time 5.57e-06/5.57e-06, allocations: 0 / 0.5211 GB, free: 1.547 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.872e-05/5.429e-05, allocations: 3.859 kB / 0.5211 GB, free: 1.543 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002331/0.002385, allocations: 0.748 MB / 0.5219 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.004211, allocations: 1.296 MB / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.004323, allocations: 0 / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 5.398e-05/0.004377, allocations: 16.48 kB / 0.5232 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.004483, allocations: 16.23 kB / 0.5232 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006947/0.005178, allocations: 253.2 kB / 0.5234 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.005456, allocations: 256.2 kB / 0.5237 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.005619, allocations: 42.5 kB / 0.5237 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.005805, allocations: 151.8 kB / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.005956, allocations: 84.66 kB / 0.5239 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.005991, allocations: 20 kB / 0.5239 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.661e-05/0.006077, allocations: 33.11 kB / 0.524 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.941e-05/0.006117, allocations: 31.89 kB / 0.524 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.595e-05/0.006183, allocations: 75.86 kB / 0.5241 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.006438, allocations: 188.1 kB / 0.5243 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.006442, allocations: 0 / 0.5243 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.593e-06/0.006444, allocations: 0.7188 kB / 0.5243 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.006449, allocations: 0 / 0.5243 GB, free: 14.38 MB / 0.4948 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.0005731/0.007022, allocations: 0.5159 MB / 0.5248 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.00707, allocations: 8.969 kB / 0.5248 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.319e-05/0.007133, allocations: 28.84 kB / 0.5248 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.007315, allocations: 164.4 kB / 0.525 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.007333, allocations: 15.06 kB / 0.525 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.007359, allocations: 24.36 kB / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.007494, allocations: 98.17 kB / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.007503, allocations: 192 / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.007517, allocations: 12.36 kB / 0.5251 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.007524, allocations: 384 / 0.5251 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.823e-05/0.007572, allocations: 47.84 kB / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.007989, allocations: 385.2 kB / 0.5255 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.008097, allocations: 70.95 kB / 0.5256 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.482e-05/0.008122, allocations: 32.23 kB / 0.5256 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.919e-06/0.008127, allocations: 4.969 kB / 0.5256 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.008303, allocations: 124 kB / 0.5257 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 2.234e-06/0.008305, allocations: 0 / 0.5257 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0002642/0.00857, allocations: 212 kB / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.008607, allocations: 59.95 kB / 0.526 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.008708, allocations: 201.7 kB / 0.5262 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.008729, allocations: 30.67 kB / 0.5262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.008801, allocations: 163.2 kB / 0.5264 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.008823, allocations: 37.55 kB / 0.5264 GB, free: 12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.267e-05/0.008905, allocations: 75.3 kB / 0.5265 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.009037, allocations: 0.4962 MB / 0.527 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.009141, allocations: 103.4 kB / 0.5271 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.009251, allocations: 196.5 kB / 0.5272 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.009392, allocations: 219.5 kB / 0.5275 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.009395, allocations: 1 kB / 0.5275 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00029/0.009685, allocations: 350.9 kB / 0.5278 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.008e-05/0.009735, allocations: 65.73 kB / 0.5279 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.009743, allocations: 4 kB / 0.5279 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.009758, allocations: 4 kB / 0.5279 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.353e-05/0.009782, allocations: 15.92 kB / 0.5279 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.009789, allocations: 10.59 kB / 0.5279 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.009977, allocations: 39.92 kB / 0.5279 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.009999, allocations: 15.98 kB / 0.5279 GB, free: 10.27 MB / 0.4948 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,fal.y,tru.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 0.0001028/0.0101, allocations: 185.7 kB / 0.5281 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.01012, allocations: 19.91 kB / 0.5281 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.057e-05/0.01016, allocations: 12.77 kB / 0.5282 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.01017, allocations: 4.656 kB / 0.5282 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.01017, allocations: 0 / 0.5282 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.01018, allocations: 11.31 kB / 0.5282 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003575/0.01053, allocations: 420 kB / 0.5286 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01053, allocations: 4 kB / 0.5286 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.947e-06/0.01054, allocations: 3.938 kB / 0.5286 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01055, allocations: 0 / 0.5286 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.01055, allocations: 7.984 kB / 0.5286 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01056, allocations: 0 / 0.5286 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.01056, allocations: 3.938 kB / 0.5286 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.01075, allocations: 323.8 kB / 0.5289 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.249e-05/0.01076, allocations: 18.41 kB / 0.5289 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.01077, allocations: 7.984 kB / 0.5289 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.5e-05/0.01082, allocations: 4 kB / 0.5289 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.01086, allocations: 19.91 kB / 0.5289 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.01087, allocations: 4 kB / 0.5289 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.879e-05/0.01092, allocations: 139.1 kB / 0.5291 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01092, allocations: 4 kB / 0.5291 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002019/0.01112, allocations: 44.73 kB / 0.5291 GB, free: 8.992 MB / 0.4948 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.0001483/0.01127, allocations: 112.5 kB / 0.5292 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002576/0.01153, allocations: 316 kB / 0.5295 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01153, allocations: 0 / 0.5295 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.86e-05/0.01158, allocations: 57.12 kB / 0.5296 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.01183, allocations: 23.97 kB / 0.5296 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/0.0122, allocations: 264.2 kB / 0.5299 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.735e-05/0.01224, allocations: 75.83 kB / 0.5299 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.816e-05/0.01228, allocations: 13.14 kB / 0.5299 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.01239, allocations: 107.6 kB / 0.5301 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of SimCode: time 8.42e-07/0.01239, allocations: 0 / 0.5301 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of Templates: time 0.004523/0.01692, allocations: 2.48 MB / 0.5325 GB, free: 5.629 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8444318529218435]