Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007275/0.0007275, allocations: 80.48 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.0007367/0.0007367, allocations: 173.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.8256/0.8256, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6981/0.6981, allocations: 154.6 MB / 414.5 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.648e-05, allocations: 5.094 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001265/0.001292, allocations: 0.7346 MB / 0.6201 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.002481, allocations: 1.287 MB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.5e-05/0.002536, allocations: 0 / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.429e-05/0.00257, allocations: 7.875 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.284e-05/0.002633, allocations: 19.84 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005285/0.003162, allocations: 252 kB / 0.6216 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.00338, allocations: 255.6 kB / 0.6218 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.003494, allocations: 41.3 kB / 0.6219 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.003625, allocations: 151.7 kB / 0.622 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.003734, allocations: 87.66 kB / 0.6221 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.003763, allocations: 24 kB / 0.6221 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.275e-05/0.003826, allocations: 39.94 kB / 0.6222 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.103e-05/0.003857, allocations: 35.88 kB / 0.6222 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.078e-05/0.003928, allocations: 79.86 kB / 0.6223 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.004168, allocations: 279.3 kB / 0.6225 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.00417, allocations: 0 / 0.6225 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.072e-06/0.004171, allocations: 0 / 0.6225 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.004175, allocations: 4 kB / 0.6225 GB, free: 9.871 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.0004463/0.004621, allocations: 429.1 kB / 0.6229 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.004652, allocations: 8.031 kB / 0.623 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.155e-05/0.004704, allocations: 16.89 kB / 0.623 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.005046, allocations: 185.7 kB / 0.6231 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.005063, allocations: 12.38 kB / 0.6232 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.00509, allocations: 20.36 kB / 0.6232 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.005258, allocations: 130.1 kB / 0.6233 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.005267, allocations: 192 / 0.6233 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.005282, allocations: 12.36 kB / 0.6233 GB, free: 9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.005287, allocations: 4.125 kB / 0.6233 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.992e-05/0.005377, allocations: 63.97 kB / 0.6234 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.005762, allocations: 356 kB / 0.6237 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.005891, allocations: 82.53 kB / 0.6238 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/0.005927, allocations: 28.84 kB / 0.6238 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-06/0.005934, allocations: 7.938 kB / 0.6238 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.006109, allocations: 135.2 kB / 0.624 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.006111, allocations: 4 kB / 0.624 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.0003096/0.00642, allocations: 240.4 kB / 0.6242 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.00646, allocations: 59.34 kB / 0.6243 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.929e-05/0.00654, allocations: 153.6 kB / 0.6244 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.006564, allocations: 37.69 kB / 0.6244 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.006617, allocations: 104.7 kB / 0.6245 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.006637, allocations: 31.75 kB / 0.6246 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.978e-05/0.006707, allocations: 73.67 kB / 0.6246 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.39e-05/0.006781, allocations: 318.8 kB / 0.6249 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.006908, allocations: 135.3 kB / 0.6251 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.007037, allocations: 187.1 kB / 0.6252 GB, free: 6.863 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.007199, allocations: 218.9 kB / 0.6255 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.007201, allocations: 0 / 0.6255 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003135/0.007515, allocations: 368.2 kB / 0.6258 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/0.007552, allocations: 63.39 kB / 0.6259 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.007557, allocations: 7.938 kB / 0.6259 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.007569, allocations: 7.938 kB / 0.6259 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.821e-05/0.007588, allocations: 11.94 kB / 0.6259 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.007592, allocations: 0 / 0.6259 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.007766, allocations: 64.08 kB / 0.626 GB, free: 6.055 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.007792, allocations: 19.98 kB / 0.626 GB, free: 6.035 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.794e-05/0.00788, allocations: 134.8 kB / 0.6261 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.007893, allocations: 15.91 kB / 0.6261 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.007921, allocations: 8.781 kB / 0.6261 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.007926, allocations: 7.938 kB / 0.6261 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.00793, allocations: 4 kB / 0.6261 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.007933, allocations: 0 / 0.6261 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.008222, allocations: 424.8 kB / 0.6265 GB, free: 5.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.008223, allocations: 0 / 0.6265 GB, free: 5.406 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.715e-06/0.008231, allocations: 4 kB / 0.6265 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.008233, allocations: 0 / 0.6265 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.008244, allocations: 15.86 kB / 0.6266 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.008245, allocations: 0 / 0.6266 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.008246, allocations: 0 / 0.6266 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.008432, allocations: 295.3 kB / 0.6268 GB, free: 5.082 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.008442, allocations: 15.91 kB / 0.6269 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.008457, allocations: 15.92 kB / 0.6269 GB, free: 5.051 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.711e-05/0.008494, allocations: 4 kB / 0.6269 GB, free: 5.047 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.008528, allocations: 11.97 kB / 0.6269 GB, free: 5.035 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.008544, allocations: 12 kB / 0.6269 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.768e-05/0.008581, allocations: 99.02 kB / 0.627 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.008581, allocations: 0 / 0.627 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002052/0.008787, allocations: 51.92 kB / 0.627 GB, free: 4.879 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.0001098/0.008896, allocations: 103.2 kB / 0.6271 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002828/0.009179, allocations: 333.9 kB / 0.6275 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.009181, allocations: 0 / 0.6275 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.394e-05/0.009244, allocations: 59.91 kB / 0.6275 GB, free: 4.348 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.009456, allocations: 23.98 kB / 0.6275 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000355/0.009811, allocations: 283.8 kB / 0.6278 GB, free: 4.016 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.951e-05/0.00987, allocations: 103.3 kB / 0.6279 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.009892, allocations: 20.44 kB / 0.6279 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of SimCode: time 5.91e-07/0.009893, allocations: 0 / 0.6279 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of Templates: time 0.002477/0.01237, allocations: 1.996 MB / 0.6299 GB, free: 1.898 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.91350022982806] Failed to read output from testmodel.py, exit status != 0: 0.017252499237656593 0.02604317 0.019609876000000002 Calling exit ...