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.0008942/0.0008942, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.0009567/0.0009567, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.8812/0.8812, allocations: 177.1 MB / 204.5 MB, free: 5.5 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-545:108: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-545:116: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.7469/0.7469, allocations: 154.6 MB / 415.6 MB, free: 0.5352 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 1.933e-06/1.933e-06, allocations: 0.7656 kB / 0.5215 GB, free: 1.887 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/2.022e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.883 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001364/0.001384, allocations: 0.7545 MB / 0.5223 GB, free: 1.148 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.002667, allocations: 1.291 MB / 0.5235 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.159e-05/0.002729, allocations: 0 / 0.5235 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.733e-05/0.002766, allocations: 16.64 kB / 0.5236 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.311e-05/0.002839, allocations: 19.75 kB / 0.5236 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.003329, allocations: 248.9 kB / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.00355, allocations: 253.2 kB / 0.5241 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.003668, allocations: 49.25 kB / 0.5241 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.003812, allocations: 147.8 kB / 0.5242 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.003936, allocations: 84.69 kB / 0.5243 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.003965, allocations: 22 kB / 0.5244 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.483e-05/0.00403, allocations: 32 kB / 0.5244 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.403e-05/0.004064, allocations: 39.88 kB / 0.5244 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.773e-05/0.004121, allocations: 71.81 kB / 0.5245 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.004299, allocations: 183.5 kB / 0.5247 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004301, allocations: 0.75 kB / 0.5247 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.02e-07/0.004301, allocations: 0 / 0.5247 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.004305, allocations: 0.7188 kB / 0.5247 GB, free: 14.71 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.0004228/0.004728, allocations: 0.5157 MB / 0.5252 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.00476, allocations: 8.031 kB / 0.5252 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.292e-05/0.004813, allocations: 33.53 kB / 0.5252 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.004977, allocations: 164.4 kB / 0.5254 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.004992, allocations: 13.81 kB / 0.5254 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.005017, allocations: 20.36 kB / 0.5254 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.005127, allocations: 102.1 kB / 0.5255 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.005135, allocations: 4.906 kB / 0.5255 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.005145, allocations: 4.375 kB / 0.5255 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.00515, allocations: 4.375 kB / 0.5255 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.779e-05/0.005198, allocations: 46.02 kB / 0.5256 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.005535, allocations: 387 kB / 0.5259 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.953e-05/0.005625, allocations: 82.98 kB / 0.526 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.005646, allocations: 23.67 kB / 0.526 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.917e-06/0.00565, allocations: 4 kB / 0.526 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001232/0.005773, allocations: 125 kB / 0.5261 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.005774, allocations: 0.5 kB / 0.5261 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0002514/0.006026, allocations: 208.2 kB / 0.5263 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.006058, allocations: 55.34 kB / 0.5264 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.572e-05/0.006143, allocations: 205.7 kB / 0.5266 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.006166, allocations: 38.27 kB / 0.5266 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.006229, allocations: 160.2 kB / 0.5268 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.006249, allocations: 35.72 kB / 0.5268 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.042e-05/0.00632, allocations: 75.3 kB / 0.5269 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.006429, allocations: 0.4932 MB / 0.5274 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.824e-05/0.006507, allocations: 107.4 kB / 0.5275 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.006616, allocations: 196 kB / 0.5277 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.006744, allocations: 217.9 kB / 0.5279 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.006746, allocations: 4.562 kB / 0.5279 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002771/0.007024, allocations: 349.8 kB / 0.5282 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.007061, allocations: 68.61 kB / 0.5283 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.007065, allocations: 0 / 0.5283 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.007076, allocations: 7.938 kB / 0.5283 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.747e-05/0.007093, allocations: 8.766 kB / 0.5283 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.007098, allocations: 7.938 kB / 0.5283 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.007258, allocations: 47.23 kB / 0.5283 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.007278, allocations: 15.98 kB / 0.5284 GB, free: 10.59 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 8.413e-05/0.007362, allocations: 180.4 kB / 0.5285 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.904e-05/0.007381, allocations: 19.91 kB / 0.5285 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.007405, allocations: 15.88 kB / 0.5286 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.007406, allocations: 0 / 0.5286 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.007409, allocations: 3.984 kB / 0.5286 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.007413, allocations: 3.938 kB / 0.5286 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.00767, allocations: 425.9 kB / 0.529 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.007671, allocations: 0 / 0.529 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.324e-06/0.007678, allocations: 4 kB / 0.529 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.00768, allocations: 0 / 0.529 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.007688, allocations: 8 kB / 0.529 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.007692, allocations: 9.797 kB / 0.529 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.007693, allocations: 3.938 kB / 0.529 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.007866, allocations: 321.7 kB / 0.5293 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.348e-06/0.007876, allocations: 15.84 kB / 0.5293 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.007889, allocations: 9.547 kB / 0.5293 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.247e-05/0.007922, allocations: 4 kB / 0.5293 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.007948, allocations: 15.91 kB / 0.5293 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.007963, allocations: 12 kB / 0.5294 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.952e-05/0.008002, allocations: 137.5 kB / 0.5295 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008002, allocations: 2.75 kB / 0.5295 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001933/0.008195, allocations: 47.98 kB / 0.5295 GB, free: 9.328 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 9.701e-05/0.008292, allocations: 115 kB / 0.5296 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002222/0.008515, allocations: 307.8 kB / 0.5299 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.008516, allocations: 0 / 0.5299 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.574e-05/0.008562, allocations: 59.58 kB / 0.53 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.008757, allocations: 31.78 kB / 0.53 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002927/0.00905, allocations: 253.2 kB / 0.5303 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.059e-05/0.00909, allocations: 71.83 kB / 0.5303 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.055e-05/0.009121, allocations: 10.03 kB / 0.5303 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.93e-05/0.00922, allocations: 110.8 kB / 0.5305 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of SimCode: time 9.32e-07/0.009221, allocations: 3.938 kB / 0.5305 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of Templates: time 0.003663/0.01288, allocations: 2.524 MB / 0.5329 GB, free: 5.91 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.53625711472705]