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.0008011/0.0008011, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007851/0.0007851, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8444/0.8444, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.6876/0.6876, allocations: 154.6 MB / 414.5 MB, free: 0.8164 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.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.534e-06/2.534e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.799e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001624/0.001652, allocations: 0.7091 MB / 0.62 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.002859, allocations: 1.186 MB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.304e-05/0.002912, allocations: 0 / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.094e-05/0.002943, allocations: 3.938 kB / 0.6212 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.558e-05/0.003018, allocations: 15.86 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.00349, allocations: 133.5 kB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.003652, allocations: 127.7 kB / 0.6215 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.003755, allocations: 11.98 kB / 0.6215 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.003867, allocations: 63.89 kB / 0.6215 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.88e-05/0.003946, allocations: 39.88 kB / 0.6216 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.00397, allocations: 8 kB / 0.6216 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.725e-05/0.004027, allocations: 19.98 kB / 0.6216 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.152e-05/0.004048, allocations: 15.92 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.906e-05/0.004098, allocations: 31.97 kB / 0.6216 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.004276, allocations: 131.6 kB / 0.6218 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.004281, allocations: 4 kB / 0.6218 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.092e-06/0.004282, allocations: 0 / 0.6218 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.004287, allocations: 4 kB / 0.6218 GB, free: 10.67 MB / 0.5886 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.0004858/0.004773, allocations: 339.7 kB / 0.6221 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.00481, allocations: 8.031 kB / 0.6221 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.004854, allocations: 4.938 kB / 0.6221 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.539e-05/0.00493, allocations: 117.7 kB / 0.6222 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.004944, allocations: 8.359 kB / 0.6222 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.004961, allocations: 8.375 kB / 0.6222 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.005096, allocations: 62.23 kB / 0.6223 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.005105, allocations: 4.172 kB / 0.6223 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.005115, allocations: 8.359 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.00512, allocations: 4.312 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.86e-05/0.005219, allocations: 39.91 kB / 0.6224 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.005595, allocations: 264.4 kB / 0.6226 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.005716, allocations: 54.61 kB / 0.6227 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/0.005771, allocations: 32.97 kB / 0.6227 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.005781, allocations: 4 kB / 0.6227 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.005949, allocations: 91.23 kB / 0.6228 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.00595, allocations: 0 / 0.6228 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002767/0.006227, allocations: 145.6 kB / 0.6229 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.006258, allocations: 51.41 kB / 0.623 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.136e-05/0.006319, allocations: 117.8 kB / 0.6231 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.006339, allocations: 37.7 kB / 0.6231 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.006382, allocations: 96.08 kB / 0.6232 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.0064, allocations: 15.84 kB / 0.6232 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.006448, allocations: 37.7 kB / 0.6233 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.1e-05/0.006529, allocations: 322.8 kB / 0.6236 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.006638, allocations: 77.66 kB / 0.6236 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.006748, allocations: 118 kB / 0.6238 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.0069, allocations: 141.9 kB / 0.6239 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.006902, allocations: 0 / 0.6239 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002621/0.007165, allocations: 240.8 kB / 0.6241 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.007198, allocations: 41.62 kB / 0.6242 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.007203, allocations: 4.125 kB / 0.6242 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.007216, allocations: 7.938 kB / 0.6242 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.692e-05/0.007273, allocations: 7.984 kB / 0.6242 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.007277, allocations: 4 kB / 0.6242 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.007383, allocations: 39.89 kB / 0.6242 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.007396, allocations: 8 kB / 0.6242 GB, free: 7.91 MB / 0.5886 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 7.488e-05/0.007471, allocations: 122.7 kB / 0.6243 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.00748, allocations: 15.89 kB / 0.6244 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.007507, allocations: 16.42 kB / 0.6244 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.00751, allocations: 0 / 0.6244 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.007514, allocations: 0 / 0.6244 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.007516, allocations: 64 / 0.6244 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.0078, allocations: 330.3 kB / 0.6247 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.007801, allocations: 0 / 0.6247 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.663e-05/0.007827, allocations: 11.98 kB / 0.6247 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.00783, allocations: 0 / 0.6247 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.007837, allocations: 4 kB / 0.6247 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.007839, allocations: 0 / 0.6247 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.00784, allocations: 0 / 0.6247 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.008003, allocations: 211.5 kB / 0.6249 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-06/0.008012, allocations: 11.95 kB / 0.6249 GB, free: 7.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.008025, allocations: 0 / 0.6249 GB, free: 7.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.228e-05/0.008067, allocations: 7.984 kB / 0.6249 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.0081, allocations: 7.984 kB / 0.6249 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.008108, allocations: 4 kB / 0.6249 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.49e-05/0.008143, allocations: 99.2 kB / 0.625 GB, free: 7.02 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008143, allocations: 0 / 0.625 GB, free: 7.02 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001691/0.008312, allocations: 27.94 kB / 0.6251 GB, free: 6.992 MB / 0.5886 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.0001303/0.008442, allocations: 106.3 kB / 0.6252 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002438/0.008686, allocations: 185 kB / 0.6253 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.008688, allocations: 256 / 0.6253 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.476e-05/0.008753, allocations: 43.97 kB / 0.6254 GB, free: 6.641 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.00895, allocations: 11.94 kB / 0.6254 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.009254, allocations: 183.2 kB / 0.6256 GB, free: 6.414 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.698e-05/0.009301, allocations: 71.33 kB / 0.6256 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.009328, allocations: 12.5 kB / 0.6257 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of SimCode: time 4.11e-07/0.009329, allocations: 3.938 kB / 0.6257 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of Templates: time 0.002289/0.01162, allocations: 1.288 MB / 0.6269 GB, free: 5.043 MB / 0.5886 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: 4.859198366291821] Failed to read output from testmodel.py, exit status != 0: 0.01689056772738695 0.025030427 0.018909479 Calling exit ...