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.001119/0.001119, allocations: 72.45 kB / 19.9 MB, free: 12 kB / 13.93 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.00135/0.00135, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.8425/0.8425, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.6897/0.6897, allocations: 154.7 MB / 414.7 MB, free: 0.7617 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: 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.000896/0.000896, allocations: 67.91 kB / 0.6195 GB, free: 12.04 MB / 0.5417 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3958, allocations: 102 MB / 0.7191 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001364/0.3972, allocations: 0.7352 MB / 0.7198 GB, free: 13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.3983, allocations: 1.27 MB / 0.7211 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.105e-05/0.3983, allocations: 0 / 0.7211 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.543e-05/0.3983, allocations: 11.86 kB / 0.7211 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.905e-05/0.3984, allocations: 23.8 kB / 0.7211 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.3989, allocations: 258.1 kB / 0.7214 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.3991, allocations: 255.4 kB / 0.7216 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.3992, allocations: 45.14 kB / 0.7216 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.3994, allocations: 155.6 kB / 0.7218 GB, free: 11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.3995, allocations: 91.67 kB / 0.7219 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.3995, allocations: 24 kB / 0.7219 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.316e-05/0.3996, allocations: 35.98 kB / 0.7219 GB, free: 10.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.3996, allocations: 39.91 kB / 0.722 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.033e-05/0.3997, allocations: 83.73 kB / 0.7221 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.3999, allocations: 295.1 kB / 0.7223 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3999, allocations: 3.938 kB / 0.7223 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3999, allocations: 0 / 0.7223 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.3999, allocations: 0 / 0.7223 GB, free: 10.43 MB / 0.6042 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.000466/0.4004, allocations: 433.1 kB / 0.7228 GB, free: 9.965 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.4004, allocations: 8.031 kB / 0.7228 GB, free: 9.957 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.206e-05/0.4005, allocations: 16.89 kB / 0.7228 GB, free: 9.941 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.4008, allocations: 182.5 kB / 0.723 GB, free: 9.738 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.4008, allocations: 16.3 kB / 0.723 GB, free: 9.723 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.4009, allocations: 20.38 kB / 0.723 GB, free: 9.703 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.401, allocations: 130.2 kB / 0.7231 GB, free: 9.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.4011, allocations: 3.938 kB / 0.7231 GB, free: 9.566 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.4011, allocations: 4 kB / 0.7231 GB, free: 9.562 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4011, allocations: 4 kB / 0.7231 GB, free: 9.559 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.908e-05/0.4012, allocations: 75.83 kB / 0.7232 GB, free: 9.484 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.4015, allocations: 348.1 kB / 0.7235 GB, free: 9.113 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.4017, allocations: 90.45 kB / 0.7236 GB, free: 9.016 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.975e-05/0.4017, allocations: 32.84 kB / 0.7236 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.555e-06/0.4017, allocations: 0 / 0.7236 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.4019, allocations: 143.3 kB / 0.7238 GB, free: 8.828 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.4019, allocations: 0 / 0.7238 GB, free: 8.828 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.0003153/0.4022, allocations: 241 kB / 0.724 GB, free: 8.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.4023, allocations: 59.39 kB / 0.7241 GB, free: 8.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.11e-05/0.4024, allocations: 145.7 kB / 0.7242 GB, free: 8.367 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.4024, allocations: 29.7 kB / 0.7242 GB, free: 8.332 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.4024, allocations: 112.5 kB / 0.7243 GB, free: 8.219 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.4025, allocations: 31.8 kB / 0.7244 GB, free: 8.188 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.422e-05/0.4025, allocations: 73.62 kB / 0.7244 GB, free: 8.109 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.73e-05/0.4026, allocations: 322.8 kB / 0.7248 GB, free: 7.785 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.4027, allocations: 127.4 kB / 0.7249 GB, free: 7.648 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.4029, allocations: 192.6 kB / 0.7251 GB, free: 7.426 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.403, allocations: 215 kB / 0.7253 GB, free: 7.176 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.403, allocations: 0 / 0.7253 GB, free: 7.176 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000315/0.4033, allocations: 372.1 kB / 0.7256 GB, free: 6.781 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002831/0.4036, allocations: 71.53 kB / 0.7257 GB, free: 6.699 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4036, allocations: 4 kB / 0.7257 GB, free: 6.695 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.4036, allocations: 4 kB / 0.7257 GB, free: 6.691 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.989e-05/0.4037, allocations: 11.98 kB / 0.7257 GB, free: 6.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.4037, allocations: 4 kB / 0.7257 GB, free: 6.676 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.4038, allocations: 55.83 kB / 0.7258 GB, free: 6.621 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.4039, allocations: 23.92 kB / 0.7258 GB, free: 6.598 MB / 0.6042 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.643e-05/0.4039, allocations: 134.8 kB / 0.7259 GB, free: 6.457 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.404, allocations: 19.83 kB / 0.7259 GB, free: 6.438 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/0.404, allocations: 12.77 kB / 0.7259 GB, free: 6.426 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.404, allocations: 4 kB / 0.7259 GB, free: 6.422 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.404, allocations: 0 / 0.7259 GB, free: 6.422 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.404, allocations: 0 / 0.7259 GB, free: 6.422 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.4043, allocations: 433.9 kB / 0.7264 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4043, allocations: 3.984 kB / 0.7264 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.733e-06/0.4043, allocations: 0 / 0.7264 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.4043, allocations: 8 kB / 0.7264 GB, free: 5.949 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.4043, allocations: 0 / 0.7264 GB, free: 5.949 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4043, allocations: 0 / 0.7264 GB, free: 5.949 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4043, allocations: 3.984 kB / 0.7264 GB, free: 5.945 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.4045, allocations: 301.8 kB / 0.7267 GB, free: 5.637 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.4045, allocations: 7.953 kB / 0.7267 GB, free: 5.629 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.4045, allocations: 4 kB / 0.7267 GB, free: 5.625 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.826e-05/0.4045, allocations: 7.984 kB / 0.7267 GB, free: 5.617 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.4046, allocations: 7.984 kB / 0.7267 GB, free: 5.609 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.4046, allocations: 15.98 kB / 0.7267 GB, free: 5.594 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.616e-05/0.4046, allocations: 98.89 kB / 0.7268 GB, free: 5.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.4046, allocations: 4 kB / 0.7268 GB, free: 5.496 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001979/0.4048, allocations: 47.89 kB / 0.7269 GB, free: 5.449 MB / 0.6042 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.0001161/0.405, allocations: 115.7 kB / 0.727 GB, free: 5.328 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002803/0.4052, allocations: 322.1 kB / 0.7273 GB, free: 4.977 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4052, allocations: 0 / 0.7273 GB, free: 4.977 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.281e-05/0.4053, allocations: 60.41 kB / 0.7273 GB, free: 4.918 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.4055, allocations: 35.84 kB / 0.7274 GB, free: 4.883 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/0.4059, allocations: 285.2 kB / 0.7276 GB, free: 4.566 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.776e-05/0.4059, allocations: 94.78 kB / 0.7277 GB, free: 4.453 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.107e-05/0.406, allocations: 16.5 kB / 0.7277 GB, free: 4.438 MB / 0.6042 GB Notification: Performance of SimCode: time 7.52e-07/0.406, allocations: 0 / 0.7277 GB, free: 4.438 MB / 0.6042 GB Notification: Performance of Templates: time 0.002446/0.4084, allocations: 2.013 MB / 0.7297 GB, free: 2.438 MB / 0.6042 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.343807157129049] Failed to read output from testmodel.py, exit status != 0: 0.4137784780468792 0.422300082 0.020737947 Calling exit ...