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.001249/0.001249, allocations: 75.25 kB / 19.16 MB, free: 2.566 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.00136/0.00136, allocations: 171 kB / 22.44 MB, free: 5.301 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.393/1.393, allocations: 177.2 MB / 202.8 MB, free: 9.199 MB / 190.1 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-531:190: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-531:198: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 1.177/1.177, allocations: 155 MB / 414.2 MB, free: 4.953 MB / 382.1 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 178] 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 69.12 kB / 0.6192 GB, free: 4.137 MB / 0.5294 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5369/0.539, allocations: 102 MB / 0.7187 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002007/0.541, allocations: 0.7397 MB / 0.7195 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.5424, allocations: 1.285 MB / 0.7207 GB, free: 384 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.209e-05/0.5425, allocations: 1.062 kB / 0.7207 GB, free: 384 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.78e-05/0.5425, allocations: 10.64 kB / 0.7207 GB, free: 376 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.131e-05/0.5426, allocations: 20.47 kB / 0.7208 GB, free: 360 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006713/0.5432, allocations: 251.5 kB / 0.721 GB, free: 232 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002754/0.5435, allocations: 254.1 kB / 0.7212 GB, free: 124 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.5437, allocations: 50.03 kB / 0.7213 GB, free: 96 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.5439, allocations: 149 kB / 0.7214 GB, free: 28 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.544, allocations: 93.33 kB / 0.7215 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.738e-05/0.5441, allocations: 25.03 kB / 0.7215 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 9.065e-05/0.5442, allocations: 41.16 kB / 0.7216 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.399e-05/0.5442, allocations: 31.58 kB / 0.7216 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.5444, allocations: 90.09 kB / 0.7217 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0004311/0.5448, allocations: 293.5 kB / 0.722 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5448, allocations: 0 / 0.722 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5448, allocations: 0 / 0.722 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.5448, allocations: 0 / 0.722 GB, free: 15.81 MB / 0.6231 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.0007645/0.5456, allocations: 432.2 kB / 0.7224 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.5456, allocations: 10.22 kB / 0.7224 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.022e-05/0.5457, allocations: 22.69 kB / 0.7224 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.5463, allocations: 175.8 kB / 0.7226 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.5463, allocations: 14.53 kB / 0.7226 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/0.5464, allocations: 21.52 kB / 0.7226 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.5467, allocations: 129.9 kB / 0.7227 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.5467, allocations: 3.938 kB / 0.7228 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.5467, allocations: 12.81 kB / 0.7228 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.5467, allocations: 1.656 kB / 0.7228 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.5469, allocations: 70.11 kB / 0.7228 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006729/0.5475, allocations: 346 kB / 0.7232 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.5477, allocations: 80.98 kB / 0.7232 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.526e-05/0.5478, allocations: 43.94 kB / 0.7233 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.5478, allocations: 1.094 kB / 0.7233 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003686/0.5482, allocations: 147.5 kB / 0.7234 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.5482, allocations: 0 / 0.7234 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of matching and sorting (n=16): time 0.0005717/0.5488, allocations: 241 kB / 0.7237 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.5488, allocations: 59.28 kB / 0.7237 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.549, allocations: 142.5 kB / 0.7238 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/0.5491, allocations: 31.28 kB / 0.7239 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.5492, allocations: 115 kB / 0.724 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.5492, allocations: 26.91 kB / 0.724 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.5494, allocations: 73.5 kB / 0.7241 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.5496, allocations: 321.4 kB / 0.7244 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.5498, allocations: 131 kB / 0.7245 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.5501, allocations: 190.6 kB / 0.7247 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003373/0.5505, allocations: 211.1 kB / 0.7249 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5505, allocations: 0.5312 kB / 0.7249 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006898/0.5512, allocations: 377 kB / 0.7253 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.705e-05/0.5512, allocations: 67.59 kB / 0.7253 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.5513, allocations: 2.312 kB / 0.7253 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.5513, allocations: 8.516 kB / 0.7253 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.151e-05/0.5513, allocations: 9.359 kB / 0.7253 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.5513, allocations: 4.125 kB / 0.7253 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003405/0.5517, allocations: 64.28 kB / 0.7254 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.5517, allocations: 18.34 kB / 0.7254 GB, free: 13.19 MB / 0.6231 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.00014/0.5518, allocations: 135 kB / 0.7255 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.5519, allocations: 15.02 kB / 0.7256 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.5519, allocations: 12.61 kB / 0.7256 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5519, allocations: 1.406 kB / 0.7256 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.5519, allocations: 4 kB / 0.7256 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.5519, allocations: 2.172 kB / 0.7256 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.5524, allocations: 425.8 kB / 0.726 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.5524, allocations: 0.7969 kB / 0.726 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.385e-05/0.5524, allocations: 3.625 kB / 0.726 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.5524, allocations: 0 / 0.726 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.5525, allocations: 9.094 kB / 0.726 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.5525, allocations: 2 kB / 0.726 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5525, allocations: 0 / 0.726 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.5528, allocations: 296.8 kB / 0.7263 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.551e-05/0.5528, allocations: 9.391 kB / 0.7263 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.5528, allocations: 6.938 kB / 0.7263 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.949e-05/0.5529, allocations: 8.078 kB / 0.7263 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.553, allocations: 13.7 kB / 0.7263 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.553, allocations: 16.86 kB / 0.7263 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.194e-05/0.5531, allocations: 97 kB / 0.7264 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6e-08/0.5531, allocations: 0 / 0.7264 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003195/0.5534, allocations: 51.55 kB / 0.7265 GB, free: 12.44 MB / 0.6231 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.0001777/0.5535, allocations: 108.3 kB / 0.7266 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005216/0.5541, allocations: 329.8 kB / 0.7269 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5541, allocations: 0 / 0.7269 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.5542, allocations: 57.97 kB / 0.727 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.5545, allocations: 40.12 kB / 0.727 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005374/0.5551, allocations: 258.5 kB / 0.7272 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.995e-05/0.5552, allocations: 99.92 kB / 0.7273 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.488e-05/0.5552, allocations: 11.48 kB / 0.7273 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.5552, allocations: 15.41 kB / 0.7274 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of SimCode: time 3.01e-07/0.5552, allocations: 0 / 0.7274 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of Templates: time 0.0077/0.5629, allocations: 2.351 MB / 0.7297 GB, free: 11.51 MB / 0.6231 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.05241259559989] Failed to read output from testmodel.py, exit status != 0: 0.5722205732017756 0.587473049 0.039622618000000005 Calling exit ...