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.001703/0.001703, allocations: 80.05 kB / 19.18 MB, free: 2.531 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.002215/0.002215, allocations: 164.6 kB / 22.46 MB, free: 5.355 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.52/1.52, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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.269/1.269, allocations: 154.6 MB / 413.7 MB, free: 5.297 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: Performance of FrontEnd - loaded program: time 3.807e-06/3.807e-06, allocations: 3.938 kB / 0.6185 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.638e-05/4.019e-05, allocations: 10.92 kB / 0.6185 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002462/0.002502, allocations: 0.7285 MB / 0.6193 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002267/0.00477, allocations: 1.264 MB / 0.6205 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.863e-05/0.004858, allocations: 4 kB / 0.6205 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.574e-05/0.004904, allocations: 11.86 kB / 0.6205 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.895e-05/0.005003, allocations: 23.8 kB / 0.6205 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007457/0.005749, allocations: 260 kB / 0.6208 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.006105, allocations: 251.6 kB / 0.621 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.006277, allocations: 45.27 kB / 0.6211 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.006499, allocations: 143.8 kB / 0.6212 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.006673, allocations: 87.77 kB / 0.6213 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.215e-05/0.006725, allocations: 24 kB / 0.6213 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.787e-05/0.006823, allocations: 31.94 kB / 0.6213 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.006874, allocations: 35.89 kB / 0.6214 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.006995, allocations: 79.86 kB / 0.6214 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004177/0.007413, allocations: 287.2 kB / 0.6217 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.007417, allocations: 0 / 0.6217 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.703e-06/0.007419, allocations: 0 / 0.6217 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.007424, allocations: 0 / 0.6217 GB, free: 1.383 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.0007485/0.008173, allocations: 437.2 kB / 0.6221 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.008214, allocations: 9.469 kB / 0.6221 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.189e-05/0.008285, allocations: 16.89 kB / 0.6222 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005445/0.00883, allocations: 181.7 kB / 0.6223 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.008855, allocations: 12.38 kB / 0.6223 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.119e-05/0.008906, allocations: 24.36 kB / 0.6224 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.009161, allocations: 126.1 kB / 0.6225 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.009171, allocations: 4.125 kB / 0.6225 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.009194, allocations: 20.3 kB / 0.6225 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.009202, allocations: 4.125 kB / 0.6225 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.009334, allocations: 67.95 kB / 0.6226 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005684/0.009903, allocations: 352 kB / 0.6229 GB, free: 52 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.0101, allocations: 82.58 kB / 0.623 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.872e-05/0.01016, allocations: 32.78 kB / 0.623 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.01017, allocations: 4 kB / 0.623 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002968/0.01047, allocations: 139.3 kB / 0.6232 GB, free: 15.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.01047, allocations: 0 / 0.6232 GB, free: 15.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0004658/0.01094, allocations: 248.1 kB / 0.6234 GB, free: 15.53 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.011, allocations: 59.41 kB / 0.6235 GB, free: 15.46 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.01114, allocations: 141.7 kB / 0.6236 GB, free: 15.31 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.814e-05/0.0112, allocations: 33.7 kB / 0.6236 GB, free: 15.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.0113, allocations: 104.5 kB / 0.6237 GB, free: 15.16 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.01134, allocations: 39.73 kB / 0.6238 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.01146, allocations: 65.69 kB / 0.6238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.01162, allocations: 322.8 kB / 0.6241 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.01182, allocations: 131.3 kB / 0.6243 GB, free: 14.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.01206, allocations: 191 kB / 0.6244 GB, free: 14.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.01232, allocations: 210.9 kB / 0.6246 GB, free: 14.12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01232, allocations: 4 kB / 0.6246 GB, free: 14.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005497/0.01287, allocations: 374.8 kB / 0.625 GB, free: 13.72 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.317e-05/0.01293, allocations: 67.39 kB / 0.6251 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.01294, allocations: 4 kB / 0.6251 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.01296, allocations: 3.938 kB / 0.6251 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.083e-05/0.01299, allocations: 8 kB / 0.6251 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.013, allocations: 7.875 kB / 0.6251 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003368/0.01334, allocations: 68.08 kB / 0.6251 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.01337, allocations: 15.98 kB / 0.6252 GB, free: 13.54 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.0001433/0.01352, allocations: 138.8 kB / 0.6253 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.01354, allocations: 7.953 kB / 0.6253 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.513e-05/0.01357, allocations: 12.78 kB / 0.6253 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.01358, allocations: 7.875 kB / 0.6253 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.01358, allocations: 4 kB / 0.6253 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01359, allocations: 4 kB / 0.6253 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004612/0.01405, allocations: 414 kB / 0.6257 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01405, allocations: 0 / 0.6257 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.667e-05/0.01407, allocations: 7.938 kB / 0.6257 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.01407, allocations: 0 / 0.6257 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.01409, allocations: 15.92 kB / 0.6257 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.01409, allocations: 0 / 0.6257 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.01409, allocations: 7.938 kB / 0.6258 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.01442, allocations: 283.4 kB / 0.626 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.01443, allocations: 7.953 kB / 0.626 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.01446, allocations: 19.92 kB / 0.6261 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.875e-05/0.01452, allocations: 0 / 0.6261 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.01457, allocations: 15.97 kB / 0.6261 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.01459, allocations: 8 kB / 0.6261 GB, free: 12.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.802e-05/0.01466, allocations: 102 kB / 0.6262 GB, free: 12.44 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.01466, allocations: 0 / 0.6262 GB, free: 12.44 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003244/0.01499, allocations: 55.88 kB / 0.6262 GB, free: 12.38 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.0001793/0.01517, allocations: 108.4 kB / 0.6263 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004514/0.01562, allocations: 340.5 kB / 0.6267 GB, free: 11.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01562, allocations: 0 / 0.6267 GB, free: 11.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.01572, allocations: 55.97 kB / 0.6267 GB, free: 11.85 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.01604, allocations: 19.98 kB / 0.6267 GB, free: 11.83 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.01657, allocations: 265.9 kB / 0.627 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.01668, allocations: 95.28 kB / 0.6271 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.785e-05/0.01672, allocations: 13.14 kB / 0.6271 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.01675, allocations: 20.44 kB / 0.6271 GB, free: 11.39 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.01675, allocations: 0 / 0.6271 GB, free: 11.39 MB / 0.545 GB Notification: Performance of Templates: time 0.006249/0.023, allocations: 2.315 MB / 0.6294 GB, free: 9.141 MB / 0.545 GB " [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=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.00348387286067] Failed to read output from testmodel.py, exit status != 0: 0.03198357671499252 0.060038682 0.047328571 Calling exit ...