Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.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.001312/0.001312, allocations: 78.56 kB / 19.18 MB, free: 2.516 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.001586/0.001586, allocations: 164.1 kB / 22.45 MB, free: 5.363 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.418/1.418, allocations: 177.2 MB / 202.8 MB, free: 9.176 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.189/1.189, allocations: 154.7 MB / 413.9 MB, free: 5.16 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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.759e-06/4.759e-06, allocations: 4 kB / 0.6188 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.782e-05, allocations: 2.281 kB / 0.6188 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001713/0.001741, allocations: 0.7095 MB / 0.6195 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001786/0.003528, allocations: 1.178 MB / 0.6206 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.309e-05/0.003581, allocations: 0 / 0.6206 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.003609, allocations: 7.875 kB / 0.6206 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.503e-05/0.003684, allocations: 15.86 kB / 0.6206 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.004192, allocations: 142 kB / 0.6208 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.004396, allocations: 119.8 kB / 0.6209 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.959e-05/0.004495, allocations: 8 kB / 0.6209 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.004634, allocations: 75.8 kB / 0.621 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.874e-05/0.004723, allocations: 31.95 kB / 0.621 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.004752, allocations: 12 kB / 0.621 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.917e-05/0.004821, allocations: 19.98 kB / 0.621 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.704e-05/0.004848, allocations: 15.92 kB / 0.621 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.328e-05/0.004912, allocations: 39.97 kB / 0.6211 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.005102, allocations: 127.6 kB / 0.6212 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.005104, allocations: 0 / 0.6212 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.01e-07/0.005105, allocations: 0 / 0.6212 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.946e-06/0.005114, allocations: 0 / 0.6212 GB, free: 2.074 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000599/0.005713, allocations: 339.7 kB / 0.6215 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.005747, allocations: 8.031 kB / 0.6215 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.005792, allocations: 8.938 kB / 0.6215 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.005908, allocations: 113.7 kB / 0.6216 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.005922, allocations: 8.375 kB / 0.6216 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.005947, allocations: 12.31 kB / 0.6217 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.006146, allocations: 70.22 kB / 0.6217 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.006155, allocations: 4.125 kB / 0.6217 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.006164, allocations: 384 / 0.6217 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.00617, allocations: 4.359 kB / 0.6217 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.006357, allocations: 51.88 kB / 0.6218 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.006816, allocations: 260.4 kB / 0.622 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.006997, allocations: 50.62 kB / 0.6221 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.007111, allocations: 36.95 kB / 0.6221 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.007121, allocations: 0 / 0.6221 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.007339, allocations: 87.3 kB / 0.6222 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.00734, allocations: 0 / 0.6222 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0004607/0.007801, allocations: 149.6 kB / 0.6223 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.007847, allocations: 59.41 kB / 0.6224 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.007949, allocations: 117.8 kB / 0.6225 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.00798, allocations: 29.7 kB / 0.6225 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.008041, allocations: 88.14 kB / 0.6226 GB, free: 456 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.008067, allocations: 23.84 kB / 0.6226 GB, free: 432 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.623e-05/0.008153, allocations: 37.7 kB / 0.6227 GB, free: 388 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.008291, allocations: 318.8 kB / 0.623 GB, free: 60 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.008493, allocations: 85.73 kB / 0.6231 GB, free: 15.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.008703, allocations: 117.9 kB / 0.6232 GB, free: 15.83 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.008991, allocations: 141.8 kB / 0.6233 GB, free: 15.67 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.008992, allocations: 0 / 0.6233 GB, free: 15.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005013/0.009494, allocations: 244.8 kB / 0.6235 GB, free: 15.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.264e-05/0.009536, allocations: 41.62 kB / 0.6236 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.009542, allocations: 0 / 0.6236 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.009556, allocations: 4 kB / 0.6236 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.341e-05/0.00965, allocations: 15.92 kB / 0.6236 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.009656, allocations: 0 / 0.6236 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.00987, allocations: 39.84 kB / 0.6236 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.009894, allocations: 16.11 kB / 0.6237 GB, free: 15.29 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001091/0.01, allocations: 119.7 kB / 0.6238 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.01002, allocations: 11.89 kB / 0.6238 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.01005, allocations: 8.438 kB / 0.6238 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01005, allocations: 0 / 0.6238 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.01006, allocations: 0 / 0.6238 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.01006, allocations: 7.984 kB / 0.6238 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004622/0.01052, allocations: 318.1 kB / 0.6241 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01053, allocations: 4 kB / 0.6241 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.321e-05/0.01058, allocations: 4 kB / 0.6241 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.01058, allocations: 0 / 0.6241 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.01059, allocations: 7.984 kB / 0.6241 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.0106, allocations: 0 / 0.6241 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.0106, allocations: 64 / 0.6241 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.01092, allocations: 219.7 kB / 0.6243 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.01093, allocations: 7.953 kB / 0.6243 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.01095, allocations: 4 kB / 0.6243 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.066e-05/0.01104, allocations: 7.984 kB / 0.6243 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.01109, allocations: 7.984 kB / 0.6244 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.0111, allocations: 8 kB / 0.6244 GB, free: 14.51 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.269e-05/0.01116, allocations: 94.98 kB / 0.6245 GB, free: 14.42 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01116, allocations: 0 / 0.6245 GB, free: 14.42 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002678/0.01143, allocations: 23.94 kB / 0.6245 GB, free: 14.39 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: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001646/0.01159, allocations: 99.25 kB / 0.6246 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004122/0.012, allocations: 197 kB / 0.6248 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.012, allocations: 0 / 0.6248 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.01213, allocations: 35.92 kB / 0.6248 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.01241, allocations: 26.2 kB / 0.6248 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.01279, allocations: 161.4 kB / 0.625 GB, free: 13.83 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.897e-05/0.01287, allocations: 79.52 kB / 0.625 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.856e-05/0.01292, allocations: 4 kB / 0.6251 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.01295, allocations: 12.5 kB / 0.6251 GB, free: 13.71 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.01295, allocations: 0 / 0.6251 GB, free: 13.71 MB / 0.545 GB Notification: Performance of Templates: time 0.004593/0.01754, allocations: 1.562 MB / 0.6266 GB, free: 12.2 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.631543574854732] Failed to read output from testmodel.py, exit status != 0: 0.025450700893998146 0.039567754000000004 0.03152505 Calling exit ...