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.001267/0.001267, allocations: 78.56 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.001484/0.001484, allocations: 166.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.463/1.463, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.21/1.21, allocations: 154.6 MB / 413.8 MB, free: 5.203 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 2.495e-06/2.495e-06, allocations: 0 / 0.6186 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.111e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002042/0.002073, allocations: 0.7129 MB / 0.6193 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001936/0.004008, allocations: 1.178 MB / 0.6204 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.023e-05/0.004079, allocations: 0 / 0.6204 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.895e-05/0.004118, allocations: 3.938 kB / 0.6204 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.004228, allocations: 15.86 kB / 0.6205 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006584/0.004887, allocations: 142.1 kB / 0.6206 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.005128, allocations: 119.8 kB / 0.6207 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.00525, allocations: 15.97 kB / 0.6207 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.005433, allocations: 63.89 kB / 0.6208 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.00558, allocations: 39.88 kB / 0.6208 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.005615, allocations: 8 kB / 0.6208 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.922e-05/0.005704, allocations: 27.98 kB / 0.6209 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.928e-05/0.005734, allocations: 7.984 kB / 0.6209 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.692e-05/0.00582, allocations: 35.91 kB / 0.6209 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.0061, allocations: 135.6 kB / 0.621 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.006103, allocations: 0 / 0.621 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.006105, allocations: 0 / 0.621 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.006112, allocations: 0 / 0.621 GB, free: 2.043 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.0007202/0.006832, allocations: 339.7 kB / 0.6213 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.006877, allocations: 8.031 kB / 0.6214 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.893e-05/0.006946, allocations: 8.938 kB / 0.6214 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.007094, allocations: 121.6 kB / 0.6215 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.007117, allocations: 8.375 kB / 0.6215 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.007141, allocations: 4.375 kB / 0.6215 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.007364, allocations: 70.22 kB / 0.6216 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.007376, allocations: 8.109 kB / 0.6216 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.007391, allocations: 4.375 kB / 0.6216 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.007396, allocations: 384 / 0.6216 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.007599, allocations: 47.89 kB / 0.6216 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005737/0.008172, allocations: 256.4 kB / 0.6219 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.008381, allocations: 58.61 kB / 0.6219 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.008499, allocations: 36.95 kB / 0.622 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.008514, allocations: 0 / 0.622 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/0.008787, allocations: 91.23 kB / 0.622 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.008789, allocations: 0 / 0.622 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0004964/0.009285, allocations: 137.6 kB / 0.6222 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/0.009349, allocations: 63.41 kB / 0.6222 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.009474, allocations: 113.8 kB / 0.6223 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.009509, allocations: 29.7 kB / 0.6224 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.995e-05/0.009599, allocations: 96.19 kB / 0.6225 GB, free: 420 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.009624, allocations: 19.8 kB / 0.6225 GB, free: 400 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.158e-05/0.009716, allocations: 41.69 kB / 0.6225 GB, free: 352 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.009878, allocations: 318.8 kB / 0.6228 GB, free: 24 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.01012, allocations: 81.66 kB / 0.6229 GB, free: 15.94 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.01033, allocations: 117.9 kB / 0.623 GB, free: 15.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.01066, allocations: 141.9 kB / 0.6231 GB, free: 15.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01066, allocations: 0 / 0.6231 GB, free: 15.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000516/0.01118, allocations: 245 kB / 0.6234 GB, free: 15.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.375e-05/0.01122, allocations: 37.64 kB / 0.6234 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.01123, allocations: 0 / 0.6234 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.01124, allocations: 4 kB / 0.6234 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.542e-05/0.01134, allocations: 15.92 kB / 0.6234 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.01135, allocations: 0 / 0.6234 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.01156, allocations: 39.89 kB / 0.6235 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.01158, allocations: 8 kB / 0.6235 GB, free: 15.27 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.0001223/0.0117, allocations: 123.7 kB / 0.6236 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.01173, allocations: 11.88 kB / 0.6236 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/0.01176, allocations: 16.38 kB / 0.6236 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01176, allocations: 0 / 0.6236 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.01177, allocations: 0 / 0.6236 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.01177, allocations: 0 / 0.6236 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005153/0.01229, allocations: 314.1 kB / 0.6239 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01229, allocations: 0 / 0.6239 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.355e-05/0.01235, allocations: 19.92 kB / 0.6239 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.01236, allocations: 0 / 0.6239 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.01237, allocations: 0 / 0.6239 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01237, allocations: 0 / 0.6239 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01237, allocations: 3.938 kB / 0.624 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/0.01273, allocations: 219.8 kB / 0.6242 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.766e-05/0.01274, allocations: 8.016 kB / 0.6242 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.01277, allocations: 7.984 kB / 0.6242 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.759e-05/0.01285, allocations: 11.94 kB / 0.6242 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/0.01291, allocations: 11.98 kB / 0.6242 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.01291, allocations: 0 / 0.6242 GB, free: 14.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.785e-05/0.01298, allocations: 98.77 kB / 0.6243 GB, free: 14.38 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01298, allocations: 0 / 0.6243 GB, free: 14.38 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002774/0.01326, allocations: 23.94 kB / 0.6243 GB, free: 14.36 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.0002/0.01346, allocations: 107.2 kB / 0.6244 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004613/0.01392, allocations: 189 kB / 0.6246 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.01392, allocations: 0 / 0.6246 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.01406, allocations: 39.97 kB / 0.6246 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.01439, allocations: 13.66 kB / 0.6246 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005745/0.01497, allocations: 165.4 kB / 0.6248 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.01507, allocations: 71.59 kB / 0.6249 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.55e-05/0.01511, allocations: 7.984 kB / 0.6249 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.458e-05/0.01516, allocations: 12.5 kB / 0.6249 GB, free: 13.69 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.01516, allocations: 3.938 kB / 0.6249 GB, free: 13.68 MB / 0.545 GB Notification: Performance of Templates: time 0.005136/0.0203, allocations: 1.548 MB / 0.6264 GB, free: 12.18 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.7420976385474205] Failed to read output from testmodel.py, exit status != 0: 0.02900782972574234 0.045510572000000006 0.035858628000000003 Calling exit ...