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.0006858/0.0006858, allocations: 100.4 kB / 19.7 MB, free: 452 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.0007062/0.0007062, allocations: 212.6 kB / 23 MB, free: 2.98 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.8286/0.8286, allocations: 230.6 MB / 256.8 MB, free: 9.621 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.7256/0.7256, allocations: 203.8 MB / 0.5049 GB, free: 10.42 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.000901/0.000901, allocations: 75.64 kB / 0.7194 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.423, allocations: 102 MB / 0.819 GB, free: 1.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.00136/0.4243, allocations: 0.7237 MB / 0.8197 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009023/0.4252, allocations: 1.174 MB / 0.8209 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.461e-05/0.4253, allocations: 0 / 0.8209 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.133e-05/0.4253, allocations: 4.594 kB / 0.8209 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.161e-05/0.4254, allocations: 15.39 kB / 0.8209 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.4258, allocations: 139.8 kB / 0.821 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.4259, allocations: 122.7 kB / 0.8211 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.435e-05/0.426, allocations: 17.14 kB / 0.8212 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.003e-05/0.4261, allocations: 41.8 kB / 0.8212 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.827e-05/0.4262, allocations: 41.91 kB / 0.8212 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.4262, allocations: 10.31 kB / 0.8213 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.393e-05/0.4262, allocations: 29.88 kB / 0.8213 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.4262, allocations: 10.28 kB / 0.8213 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.167e-05/0.4263, allocations: 38.48 kB / 0.8213 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.4265, allocations: 116.2 kB / 0.8214 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4265, allocations: 8 kB / 0.8214 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4265, allocations: 1.281 kB / 0.8214 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.4265, allocations: 0 / 0.8214 GB, free: 15.77 MB / 0.6198 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.0004607/0.4269, allocations: 338 kB / 0.8218 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.427, allocations: 8.219 kB / 0.8218 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/0.427, allocations: 6.781 kB / 0.8218 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.768e-05/0.4271, allocations: 122 kB / 0.8219 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.4271, allocations: 4.031 kB / 0.8219 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.4271, allocations: 9.188 kB / 0.8219 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.4273, allocations: 74.17 kB / 0.822 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.4273, allocations: 0.7969 kB / 0.822 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.4273, allocations: 8.641 kB / 0.822 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.4273, allocations: 2.5 kB / 0.822 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.4274, allocations: 42.34 kB / 0.822 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.4277, allocations: 262.5 kB / 0.8223 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.4279, allocations: 60.62 kB / 0.8223 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.099e-05/0.4279, allocations: 37.33 kB / 0.8224 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.4279, allocations: 2.625 kB / 0.8224 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.4281, allocations: 86.3 kB / 0.8225 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.4281, allocations: 0 / 0.8225 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.000273/0.4284, allocations: 144.5 kB / 0.8226 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.4284, allocations: 51.41 kB / 0.8226 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.213e-05/0.4285, allocations: 121.9 kB / 0.8228 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.4285, allocations: 32.17 kB / 0.8228 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.4285, allocations: 97.05 kB / 0.8229 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.4286, allocations: 20.45 kB / 0.8229 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.4286, allocations: 36.72 kB / 0.8229 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003099/0.4289, allocations: 320.2 kB / 0.8232 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.429, allocations: 85.19 kB / 0.8233 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.4291, allocations: 109.2 kB / 0.8234 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.4293, allocations: 142.5 kB / 0.8236 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4293, allocations: 7.875 kB / 0.8236 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002787/0.4296, allocations: 243.4 kB / 0.8238 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.4296, allocations: 37.98 kB / 0.8238 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.4296, allocations: 5.406 kB / 0.8239 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4296, allocations: 2.75 kB / 0.8239 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.387e-05/0.4297, allocations: 19.91 kB / 0.8239 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4297, allocations: 1.562 kB / 0.8239 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.4298, allocations: 42.64 kB / 0.8239 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.4298, allocations: 7.422 kB / 0.8239 GB, free: 13.74 MB / 0.6198 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.696e-05/0.4299, allocations: 129.2 kB / 0.824 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.4299, allocations: 4.188 kB / 0.824 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.4299, allocations: 10.7 kB / 0.8241 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4299, allocations: 1.25 kB / 0.8241 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.4299, allocations: 4.688 kB / 0.8241 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.4299, allocations: 0 / 0.8241 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.4303, allocations: 323.9 kB / 0.8244 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4303, allocations: 0 / 0.8244 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.172e-05/0.4303, allocations: 12.55 kB / 0.8244 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4303, allocations: 2.031 kB / 0.8244 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.4303, allocations: 2.062 kB / 0.8244 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.4303, allocations: 0 / 0.8244 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4303, allocations: 1.344 kB / 0.8244 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.4305, allocations: 213.3 kB / 0.8246 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-06/0.4305, allocations: 3.234 kB / 0.8246 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.4305, allocations: 2.672 kB / 0.8246 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.599e-05/0.4305, allocations: 10.48 kB / 0.8246 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.4306, allocations: 10.11 kB / 0.8246 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.4306, allocations: 3.406 kB / 0.8246 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.603e-05/0.4306, allocations: 92.34 kB / 0.8247 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4306, allocations: 1.594 kB / 0.8247 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001753/0.4308, allocations: 28.88 kB / 0.8247 GB, free: 13.07 MB / 0.6198 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.000119/0.4309, allocations: 105.2 kB / 0.8248 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000269/0.4312, allocations: 199.8 kB / 0.825 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4312, allocations: 1.281 kB / 0.825 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.819e-05/0.4313, allocations: 36.64 kB / 0.8251 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.4315, allocations: 18.95 kB / 0.8251 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.4318, allocations: 198.8 kB / 0.8253 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.748e-05/0.4318, allocations: 81.09 kB / 0.8254 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.4319, allocations: 15.91 kB / 0.8254 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of SimCode: time 3.8e-07/0.4319, allocations: 0 / 0.8254 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of Templates: time 0.002443/0.4343, allocations: 1.29 MB / 0.8266 GB, free: 12.44 MB / 0.6198 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.299115686211735] Failed to read output from testmodel.py, exit status != 0: 0.4395998129621148 0.448966805 0.020757203000000002 Calling exit ...