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.001273/0.001273, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002029/0.002029, allocations: 165.6 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.443/1.443, allocations: 177.1 MB / 202.8 MB, free: 9.211 MB / 190.1 MB " [Timeout remaining time 178] 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 1.148/1.148, allocations: 154.6 MB / 413.8 MB, free: 5.246 MB / 382.1 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 178] 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.225e-06/2.225e-06, allocations: 0 / 0.6186 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.446e-05, allocations: 4.906 kB / 0.6186 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001775/0.0018, allocations: 0.7284 MB / 0.6193 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.003661, allocations: 1.271 MB / 0.6205 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.296e-05/0.003714, allocations: 0.8438 kB / 0.6205 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.452e-05/0.003758, allocations: 11.86 kB / 0.6206 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.547e-05/0.003844, allocations: 20.7 kB / 0.6206 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007013/0.004545, allocations: 263.1 kB / 0.6208 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.004852, allocations: 257 kB / 0.6211 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.004991, allocations: 37.28 kB / 0.6211 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.005179, allocations: 147.8 kB / 0.6213 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.005347, allocations: 81.25 kB / 0.6213 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.125e-05/0.005398, allocations: 24 kB / 0.6214 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.642e-05/0.005485, allocations: 43.88 kB / 0.6214 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.434e-05/0.005529, allocations: 36.39 kB / 0.6214 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.005642, allocations: 79.84 kB / 0.6215 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.005992, allocations: 287.2 kB / 0.6218 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005994, allocations: 0 / 0.6218 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.71e-07/0.005994, allocations: 3.938 kB / 0.6218 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.006002, allocations: 0 / 0.6218 GB, free: 1.309 MB / 0.5294 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.000645/0.006647, allocations: 437.1 kB / 0.6222 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.006682, allocations: 8.031 kB / 0.6222 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.915e-05/0.006751, allocations: 16.89 kB / 0.6222 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005261/0.007277, allocations: 185.7 kB / 0.6224 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.007297, allocations: 16.38 kB / 0.6224 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.00734, allocations: 16.38 kB / 0.6224 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.007585, allocations: 130.5 kB / 0.6226 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.007596, allocations: 192 / 0.6226 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.007614, allocations: 8.375 kB / 0.6226 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.007623, allocations: 8.125 kB / 0.6226 GB, free: 440 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.007749, allocations: 63.95 kB / 0.6226 GB, free: 376 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.008322, allocations: 364 kB / 0.623 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.008491, allocations: 82.48 kB / 0.6231 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.101e-05/0.008552, allocations: 36.83 kB / 0.6231 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-06/0.008556, allocations: 4 kB / 0.6231 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002512/0.008808, allocations: 135.2 kB / 0.6232 GB, free: 15.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.008809, allocations: 0 / 0.6232 GB, free: 15.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0004581/0.009267, allocations: 244 kB / 0.6235 GB, free: 15.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.009313, allocations: 55.41 kB / 0.6235 GB, free: 15.39 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.009444, allocations: 145.7 kB / 0.6237 GB, free: 15.24 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.009483, allocations: 33.7 kB / 0.6237 GB, free: 15.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.009566, allocations: 108.7 kB / 0.6238 GB, free: 15.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.009603, allocations: 39.73 kB / 0.6238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.009715, allocations: 65.69 kB / 0.6239 GB, free: 14.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.009861, allocations: 330.8 kB / 0.6242 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.01005, allocations: 131.3 kB / 0.6243 GB, free: 14.51 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.01028, allocations: 183.1 kB / 0.6245 GB, free: 14.29 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.01055, allocations: 229.6 kB / 0.6247 GB, free: 14.03 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01055, allocations: 0 / 0.6247 GB, free: 14.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005389/0.01109, allocations: 368.2 kB / 0.6251 GB, free: 13.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.412e-05/0.01115, allocations: 63.39 kB / 0.6251 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.01115, allocations: 4 kB / 0.6251 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.01117, allocations: 8.188 kB / 0.6251 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.768e-05/0.0112, allocations: 12 kB / 0.6252 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.0112, allocations: 7.938 kB / 0.6252 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.01153, allocations: 55.83 kB / 0.6252 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.01157, allocations: 19.98 kB / 0.6252 GB, free: 13.46 MB / 0.545 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 0.000135/0.0117, allocations: 130.8 kB / 0.6254 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.01173, allocations: 19.94 kB / 0.6254 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.01176, allocations: 12.72 kB / 0.6254 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.01176, allocations: 7.938 kB / 0.6254 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.01177, allocations: 0 / 0.6254 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01177, allocations: 0 / 0.6254 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004763/0.01224, allocations: 426 kB / 0.6258 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01225, allocations: 0 / 0.6258 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.07e-05/0.01226, allocations: 0 / 0.6258 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01226, allocations: 0 / 0.6258 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.01228, allocations: 11.92 kB / 0.6258 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.01228, allocations: 3.938 kB / 0.6258 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01228, allocations: 4 kB / 0.6258 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.0126, allocations: 291.4 kB / 0.6261 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.01262, allocations: 7.953 kB / 0.6261 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.01264, allocations: 11.86 kB / 0.6261 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.205e-05/0.0127, allocations: 4 kB / 0.6261 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.01274, allocations: 15.97 kB / 0.6261 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.01276, allocations: 16 kB / 0.6262 GB, free: 12.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.169e-05/0.01284, allocations: 93.77 kB / 0.6262 GB, free: 12.37 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01284, allocations: 4 kB / 0.6262 GB, free: 12.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002981/0.01313, allocations: 51.88 kB / 0.6263 GB, free: 12.31 MB / 0.545 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.000156/0.01329, allocations: 116.4 kB / 0.6264 GB, free: 12.19 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004376/0.01373, allocations: 328.4 kB / 0.6267 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01373, allocations: 0 / 0.6267 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.01383, allocations: 51.92 kB / 0.6268 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.01413, allocations: 28.47 kB / 0.6268 GB, free: 11.76 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004656/0.0146, allocations: 262 kB / 0.627 GB, free: 11.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.196e-05/0.01469, allocations: 102.7 kB / 0.6271 GB, free: 11.35 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.122e-05/0.01473, allocations: 9.141 kB / 0.6272 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.01476, allocations: 16.5 kB / 0.6272 GB, free: 11.33 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.01476, allocations: 4 kB / 0.6272 GB, free: 11.32 MB / 0.545 GB Notification: Performance of Templates: time 0.00566/0.02042, allocations: 2.304 MB / 0.6294 GB, free: 9.086 MB / 0.545 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: 5.617573790252209] Failed to read output from testmodel.py, exit status != 0: 0.02833728864789009 0.04546188099999994 0.034963098000000005 Calling exit ...