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.001334/0.001334, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009776/0.0009776, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9874/0.9874, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.8188/0.8188, allocations: 154.9 MB / 415.1 MB, free: 224 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 2.995e-06/2.995e-06, allocations: 0.5469 kB / 480.4 MB, free: 6.508 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.952e-05, allocations: 3.062 kB / 480.4 MB, free: 6.504 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002325/0.002355, allocations: 0.7584 MB / 481.1 MB, free: 5.777 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.004375, allocations: 1.304 MB / 482.4 MB, free: 4.469 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.2e-05/0.004457, allocations: 4 kB / 482.4 MB, free: 4.465 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.622e-05/0.004503, allocations: 12.83 kB / 482.5 MB, free: 4.453 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.73e-05/0.0046, allocations: 12.91 kB / 482.5 MB, free: 4.445 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008177/0.005418, allocations: 260.9 kB / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003841/0.005802, allocations: 254.9 kB / 483 MB, free: 3.961 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.005956, allocations: 37.92 kB / 483 MB, free: 3.922 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002832/0.006239, allocations: 156.6 kB / 483.2 MB, free: 3.77 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.006446, allocations: 81.52 kB / 483.2 MB, free: 3.691 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.185e-05/0.006497, allocations: 20 kB / 483.3 MB, free: 3.672 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.238e-05/0.00659, allocations: 35.92 kB / 483.3 MB, free: 3.637 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.677e-05/0.006637, allocations: 32.55 kB / 483.3 MB, free: 3.605 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.06e-05/0.006727, allocations: 71.88 kB / 483.4 MB, free: 3.535 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.007024, allocations: 188.7 kB / 483.6 MB, free: 3.352 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.007028, allocations: 0 / 483.6 MB, free: 3.352 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.007029, allocations: 0 / 483.6 MB, free: 3.352 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.007034, allocations: 3.406 kB / 483.6 MB, free: 3.352 MB / 442.7 MB 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.0005669/0.007601, allocations: 395.6 kB / 484 MB, free: 2.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.007638, allocations: 8.031 kB / 484 MB, free: 2.922 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.796e-05/0.007716, allocations: 32.91 kB / 484 MB, free: 2.891 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.007936, allocations: 141.5 kB / 484.2 MB, free: 2.727 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.417e-05/0.00796, allocations: 16.36 kB / 484.2 MB, free: 2.711 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.008002, allocations: 17.41 kB / 484.2 MB, free: 2.695 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.008173, allocations: 109.4 kB / 484.3 MB, free: 2.586 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.008183, allocations: 1.094 kB / 484.3 MB, free: 2.586 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.008198, allocations: 4.375 kB / 484.3 MB, free: 2.582 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.008207, allocations: 4.375 kB / 484.3 MB, free: 2.578 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.04e-05/0.008288, allocations: 44.67 kB / 484.3 MB, free: 2.535 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005057/0.008793, allocations: 260.8 kB / 484.6 MB, free: 2.266 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.00891, allocations: 56.48 kB / 484.7 MB, free: 2.203 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.378e-05/0.008944, allocations: 25.47 kB / 484.7 MB, free: 2.176 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.631e-06/0.008949, allocations: 4 kB / 484.7 MB, free: 2.172 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.009133, allocations: 122.6 kB / 484.8 MB, free: 2.043 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.009135, allocations: 0.625 kB / 484.8 MB, free: 2.043 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002424/0.009377, allocations: 142.1 kB / 484.9 MB, free: 1.898 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.009422, allocations: 51.41 kB / 485 MB, free: 1.836 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.009532, allocations: 155.1 kB / 485.1 MB, free: 1.672 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.009563, allocations: 34.27 kB / 485.2 MB, free: 1.633 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/0.009628, allocations: 108.5 kB / 485.3 MB, free: 1.523 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.009655, allocations: 36.41 kB / 485.3 MB, free: 1.488 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.009759, allocations: 69.64 kB / 485.4 MB, free: 1.414 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.009863, allocations: 324.6 kB / 485.7 MB, free: 1.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.009983, allocations: 99.38 kB / 485.8 MB, free: 0.9805 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.01012, allocations: 166.9 kB / 486 MB, free: 0.7773 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.0103, allocations: 196.3 kB / 486.2 MB, free: 0.5508 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.0103, allocations: 4.688 kB / 486.2 MB, free: 0.5469 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003222/0.01063, allocations: 294 kB / 486.5 MB, free: 236 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.615e-05/0.01068, allocations: 72.45 kB / 486.5 MB, free: 152 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.01069, allocations: 0 / 486.5 MB, free: 152 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.0107, allocations: 4 kB / 486.5 MB, free: 148 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.426e-05/0.01073, allocations: 13.09 kB / 486.5 MB, free: 136 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.01074, allocations: 7.984 kB / 486.5 MB, free: 128 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.011, allocations: 48.33 kB / 486.6 MB, free: 80 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.01103, allocations: 17.67 kB / 486.6 MB, free: 64 kB / 442.7 MB 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.0001253/0.01116, allocations: 125.8 kB / 486.7 MB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.01119, allocations: 20.72 kB / 486.8 MB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.603e-05/0.01122, allocations: 12.78 kB / 486.8 MB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.01123, allocations: 0.8438 kB / 486.8 MB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.01123, allocations: 0 / 486.8 MB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.01124, allocations: 5.094 kB / 486.8 MB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.01154, allocations: 282.6 kB / 487 MB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01154, allocations: 0 / 487 MB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.189e-05/0.01155, allocations: 0.9062 kB / 487 MB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.01156, allocations: 11.88 kB / 487.1 MB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.01157, allocations: 4.734 kB / 487.1 MB, free: 15.58 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.01157, allocations: 0 / 487.1 MB, free: 15.58 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01157, allocations: 0.5 kB / 487.1 MB, free: 15.58 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.01176, allocations: 212.7 kB / 487.3 MB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/0.01178, allocations: 12.5 kB / 487.3 MB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.0118, allocations: 5.062 kB / 487.3 MB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.369e-05/0.01187, allocations: 7.984 kB / 487.3 MB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.0119, allocations: 11.92 kB / 487.3 MB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.01193, allocations: 16.92 kB / 487.3 MB, free: 15.31 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.019e-05/0.01196, allocations: 23.58 kB / 487.3 MB, free: 15.29 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01196, allocations: 0 / 487.3 MB, free: 15.29 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002889/0.01224, allocations: 49.34 kB / 487.4 MB, free: 15.24 MB / 458.7 MB 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.0001529/0.0124, allocations: 84.97 kB / 487.5 MB, free: 15.15 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003161/0.01271, allocations: 301 kB / 487.8 MB, free: 14.82 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.01272, allocations: 0 / 487.8 MB, free: 14.82 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.893e-05/0.01279, allocations: 49.28 kB / 487.8 MB, free: 14.77 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.01304, allocations: 37.14 kB / 487.9 MB, free: 14.74 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/0.01348, allocations: 251.5 kB / 488.1 MB, free: 14.47 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.967e-05/0.01353, allocations: 73.61 kB / 488.2 MB, free: 14.38 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.277e-05/0.01357, allocations: 9.156 kB / 488.2 MB, free: 14.37 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.01372, allocations: 88.86 kB / 488.3 MB, free: 14.29 MB / 458.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01372, allocations: 0 / 488.3 MB, free: 14.29 MB / 458.7 MB Notification: Performance of Templates: time 0.004443/0.01816, allocations: 2.476 MB / 490.7 MB, free: 11.98 MB / 458.7 MB " [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.758346820715815]