Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.0007438/0.0007438, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0008008/0.0008008, allocations: 211.9 kB / 23.01 MB, free: 3.113 MB / 13.93 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.8883/0.8883, allocations: 230.6 MB / 256.8 MB, free: 3.461 MB / 202.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-531:190: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-531:198: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.7447/0.7447, allocations: 203.8 MB / 0.5049 GB, free: 0.7461 MB / 410.7 MB " [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.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge") [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.001035/0.001035, allocations: 66.95 kB / 0.7195 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4042, allocations: 102 MB / 0.8191 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001433/0.4057, allocations: 0.7339 MB / 0.8198 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.4068, allocations: 1.188 MB / 0.821 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.921e-05/0.4068, allocations: 0 / 0.821 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/0.4068, allocations: 3.938 kB / 0.821 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.313e-05/0.4069, allocations: 19.86 kB / 0.821 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004238/0.4073, allocations: 138.9 kB / 0.8211 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.4075, allocations: 115.8 kB / 0.8212 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.758e-05/0.4076, allocations: 11.98 kB / 0.8213 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.843e-05/0.4076, allocations: 59.83 kB / 0.8213 GB, free: 12.24 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.71e-05/0.4077, allocations: 39.89 kB / 0.8213 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.4077, allocations: 8 kB / 0.8214 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.563e-05/0.4078, allocations: 23.98 kB / 0.8214 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.4078, allocations: 15.92 kB / 0.8214 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.101e-05/0.4079, allocations: 43.84 kB / 0.8214 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.408, allocations: 122.3 kB / 0.8216 GB, free: 12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.408, allocations: 4 kB / 0.8216 GB, free: 12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.754e-06/0.408, allocations: 0 / 0.8216 GB, free: 12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.408, allocations: 0 / 0.8216 GB, free: 12 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004518/0.4085, allocations: 335.7 kB / 0.8219 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.4085, allocations: 13.47 kB / 0.8219 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.4086, allocations: 8.938 kB / 0.8219 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.826e-05/0.4086, allocations: 118.4 kB / 0.822 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.4086, allocations: 8.359 kB / 0.822 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.4087, allocations: 8.375 kB / 0.822 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.4088, allocations: 66.22 kB / 0.8221 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.4088, allocations: 192 / 0.8221 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.4088, allocations: 19.92 kB / 0.8221 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.4088, allocations: 0 / 0.8221 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.967e-05/0.4089, allocations: 39.95 kB / 0.8221 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.4093, allocations: 319.6 kB / 0.8225 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.4094, allocations: 54.61 kB / 0.8225 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.924e-05/0.4095, allocations: 28.91 kB / 0.8225 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.4095, allocations: 0 / 0.8225 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.4096, allocations: 91.3 kB / 0.8226 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.4097, allocations: 3.938 kB / 0.8226 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0002646/0.4099, allocations: 145.6 kB / 0.8228 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.4099, allocations: 55.39 kB / 0.8228 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.647e-05/0.41, allocations: 120.5 kB / 0.8229 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.41, allocations: 29.7 kB / 0.823 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.4101, allocations: 96.09 kB / 0.823 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.4101, allocations: 15.89 kB / 0.8231 GB, free: 10.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.4101, allocations: 37.7 kB / 0.8231 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.128e-05/0.4102, allocations: 326.8 kB / 0.8234 GB, free: 9.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.302e-05/0.4103, allocations: 47.97 kB / 0.8235 GB, free: 9.863 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.4104, allocations: 96.19 kB / 0.8235 GB, free: 9.754 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.4106, allocations: 142.2 kB / 0.8237 GB, free: 9.594 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4106, allocations: 0 / 0.8237 GB, free: 9.594 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002455/0.4108, allocations: 211.2 kB / 0.8239 GB, free: 9.375 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.4108, allocations: 37.7 kB / 0.8239 GB, free: 9.332 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4108, allocations: 4 kB / 0.8239 GB, free: 9.328 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.4108, allocations: 3.938 kB / 0.8239 GB, free: 9.324 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.59e-05/0.4109, allocations: 11.98 kB / 0.8239 GB, free: 9.312 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.4109, allocations: 0 / 0.8239 GB, free: 9.312 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.411, allocations: 47.97 kB / 0.824 GB, free: 9.266 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.411, allocations: 8 kB / 0.824 GB, free: 9.258 MB / 0.6042 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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.043e-05/0.4111, allocations: 124.5 kB / 0.8241 GB, free: 9.129 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.4111, allocations: 7.938 kB / 0.8241 GB, free: 9.121 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.342e-05/0.4111, allocations: 12.36 kB / 0.8241 GB, free: 9.105 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.4111, allocations: 0 / 0.8241 GB, free: 9.105 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4111, allocations: 3.938 kB / 0.8241 GB, free: 9.102 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4111, allocations: 8 kB / 0.8241 GB, free: 9.094 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.4114, allocations: 345.5 kB / 0.8245 GB, free: 8.707 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4114, allocations: 0 / 0.8245 GB, free: 8.707 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.4115, allocations: 11.94 kB / 0.8245 GB, free: 8.695 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4115, allocations: 4 kB / 0.8245 GB, free: 8.691 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.4115, allocations: 3.984 kB / 0.8245 GB, free: 8.688 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4115, allocations: 0 / 0.8245 GB, free: 8.688 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4115, allocations: 4 kB / 0.8245 GB, free: 8.684 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.4116, allocations: 207.4 kB / 0.8247 GB, free: 8.465 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.745e-06/0.4116, allocations: 4.016 kB / 0.8247 GB, free: 8.461 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.4116, allocations: 8 kB / 0.8247 GB, free: 8.453 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.223e-05/0.4117, allocations: 7.984 kB / 0.8247 GB, free: 8.445 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.4117, allocations: 11.92 kB / 0.8247 GB, free: 8.434 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.4117, allocations: 8 kB / 0.8247 GB, free: 8.426 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.435e-05/0.4118, allocations: 91.27 kB / 0.8248 GB, free: 8.336 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.4118, allocations: 0 / 0.8248 GB, free: 8.336 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001761/0.4119, allocations: 27.94 kB / 0.8248 GB, free: 8.309 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: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.00011/0.412, allocations: 107.1 kB / 0.8249 GB, free: 8.195 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002404/0.4123, allocations: 171.3 kB / 0.8251 GB, free: 8.016 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4123, allocations: 0 / 0.8251 GB, free: 8.016 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.016e-05/0.4123, allocations: 31.97 kB / 0.8251 GB, free: 7.984 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.4125, allocations: 18.33 kB / 0.8252 GB, free: 7.969 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.4128, allocations: 196.2 kB / 0.8253 GB, free: 7.742 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.413, allocations: 0.6964 MB / 0.826 GB, free: 7.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.413, allocations: 11.44 kB / 0.826 GB, free: 7.008 MB / 0.6042 GB Notification: Performance of SimCode: time 3.9e-07/0.413, allocations: 3.938 kB / 0.826 GB, free: 7.004 MB / 0.6042 GB Notification: Performance of Templates: time 0.00196/0.415, allocations: 1.265 MB / 0.8273 GB, free: 5.754 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4269154579378664] Failed to read output from testmodel.py, exit status != 0: 0.422147445846349 0.430311333 0.020724471 Calling exit ...