Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001257/0.001257, allocations: 93.06 kB / 19.65 MB, free: 280 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.001608/0.001608, allocations: 169 kB / 23.02 MB, free: 1.555 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 1.055/1.055, allocations: 177.1 MB / 203.4 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] 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-535:34: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-535:42: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 0.8149/0.8149, allocations: 154.8 MB / 414.7 MB, free: 500 kB / 378.7 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 179] 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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.876e-06/2.876e-06, allocations: 0 / 0.5206 GB, free: 1.977 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.942e-05, allocations: 6.25 kB / 0.5206 GB, free: 1.969 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001981/0.002011, allocations: 0.7329 MB / 0.5213 GB, free: 1.262 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.003652, allocations: 1.203 MB / 0.5225 GB, free: 48 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.493e-05/0.003717, allocations: 3.938 kB / 0.5225 GB, free: 44 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.977e-05/0.003757, allocations: 3.938 kB / 0.5225 GB, free: 40 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.67e-05/0.003844, allocations: 4.438 kB / 0.5225 GB, free: 36 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005733/0.004417, allocations: 140.6 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.004607, allocations: 124.8 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.976e-05/0.004707, allocations: 7.984 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.004843, allocations: 64.56 kB / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.004945, allocations: 39.88 kB / 0.5228 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.004976, allocations: 9.656 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.677e-05/0.005053, allocations: 23.98 kB / 0.5229 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.034e-05/0.005084, allocations: 11.94 kB / 0.5229 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.697e-05/0.005161, allocations: 35.95 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.005377, allocations: 93.56 kB / 0.523 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.00538, allocations: 0 / 0.523 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.232e-06/0.005381, allocations: 0 / 0.523 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.005386, allocations: 3.938 kB / 0.523 GB, free: 15.5 MB / 0.4948 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.0006497/0.006035, allocations: 430.2 kB / 0.5234 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.006088, allocations: 9.781 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.996e-05/0.006158, allocations: 12.89 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.006291, allocations: 124.5 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.006319, allocations: 8.375 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.006348, allocations: 5.125 kB / 0.5236 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.006527, allocations: 66.94 kB / 0.5236 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.006542, allocations: 1.594 kB / 0.5236 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.006555, allocations: 384 / 0.5236 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.006565, allocations: 384 / 0.5236 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.092e-05/0.006626, allocations: 19.86 kB / 0.5237 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/0.007195, allocations: 309 kB / 0.5239 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.007357, allocations: 47.11 kB / 0.524 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.802e-05/0.007405, allocations: 24.98 kB / 0.524 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.007416, allocations: 4 kB / 0.524 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.007567, allocations: 81.09 kB / 0.5241 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.007569, allocations: 2.562 kB / 0.5241 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002892/0.007858, allocations: 93.69 kB / 0.5242 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.007906, allocations: 59.34 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.008047, allocations: 177.9 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.008078, allocations: 33.7 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.251e-05/0.008171, allocations: 146.8 kB / 0.5246 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.008196, allocations: 12.47 kB / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.07e-05/0.008287, allocations: 43.36 kB / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.00845, allocations: 0.4889 MB / 0.5251 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.00856, allocations: 62.66 kB / 0.5252 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.008686, allocations: 108.1 kB / 0.5253 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.00884, allocations: 121.6 kB / 0.5254 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.008843, allocations: 0 / 0.5254 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003215/0.009164, allocations: 211.2 kB / 0.5256 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.009204, allocations: 43.52 kB / 0.5256 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.009211, allocations: 4 kB / 0.5256 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.009228, allocations: 0 / 0.5256 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.104e-05/0.00932, allocations: 13.14 kB / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.009327, allocations: 3.938 kB / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.00946, allocations: 27.3 kB / 0.5257 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.009483, allocations: 11.98 kB / 0.5257 GB, free: 12.46 MB / 0.4948 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 9.976e-05/0.009583, allocations: 168.5 kB / 0.5259 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.009605, allocations: 15.89 kB / 0.5259 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.009641, allocations: 8.438 kB / 0.5259 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.009644, allocations: 4 kB / 0.5259 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.00965, allocations: 7.922 kB / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.009654, allocations: 2.938 kB / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/0.009984, allocations: 337.3 kB / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.009987, allocations: 0 / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.14e-05/0.01003, allocations: 7.984 kB / 0.5262 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01003, allocations: 0 / 0.5262 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.01004, allocations: 4 kB / 0.5262 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.01004, allocations: 4 kB / 0.5262 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.01005, allocations: 1.5 kB / 0.5262 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.01023, allocations: 231.8 kB / 0.5265 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.01024, allocations: 0 / 0.5265 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.01026, allocations: 8 kB / 0.5265 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.735e-05/0.01033, allocations: 4.484 kB / 0.5265 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.01038, allocations: 7.984 kB / 0.5265 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.01039, allocations: 6.281 kB / 0.5265 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.961e-05/0.01045, allocations: 138.2 kB / 0.5266 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01045, allocations: 0 / 0.5266 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003192/0.01077, allocations: 24 kB / 0.5266 GB, free: 11.44 MB / 0.4948 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.0001366/0.0109, allocations: 101.7 kB / 0.5267 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002693/0.01117, allocations: 171.5 kB / 0.5269 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.01118, allocations: 4 kB / 0.5269 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.713e-05/0.01123, allocations: 28.08 kB / 0.5269 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.01154, allocations: 22.05 kB / 0.5269 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.01191, allocations: 170.7 kB / 0.5271 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.615e-05/0.01196, allocations: 59.34 kB / 0.5272 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.879e-05/0.01199, allocations: 5.031 kB / 0.5272 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.01203, allocations: 17.42 kB / 0.5272 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/0.01203, allocations: 4 kB / 0.5272 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of Templates: time 0.004203/0.01623, allocations: 1.557 MB / 0.5287 GB, free: 9.328 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.999992876779288]