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.002115/0.002115, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002681/0.002681, allocations: 217.4 kB / 22.25 MB, free: 4.855 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 1.312/1.312, allocations: 203.8 MB / 0.5041 GB, free: 4.625 MB / 414.1 MB " [Timeout remaining time 178] 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: 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.002077/0.002077, allocations: 64.09 kB / 0.7186 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5882/0.5902, allocations: 102 MB / 0.8183 GB, free: 29.08 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002014/0.5922, allocations: 0.7183 MB / 0.819 GB, free: 28.66 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.5938, allocations: 1.173 MB / 0.8201 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.563e-05/0.5938, allocations: 1.125 kB / 0.8201 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/0.5938, allocations: 5.156 kB / 0.8201 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.737e-05/0.5939, allocations: 11.83 kB / 0.8201 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005231/0.5944, allocations: 139.3 kB / 0.8203 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.5946, allocations: 120.8 kB / 0.8204 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 8.824e-05/0.5947, allocations: 15.56 kB / 0.8204 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 9.212e-05/0.5948, allocations: 44.22 kB / 0.8204 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 9.329e-05/0.5949, allocations: 40.92 kB / 0.8205 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.5949, allocations: 12.22 kB / 0.8205 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 7.485e-05/0.595, allocations: 22.83 kB / 0.8205 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.446e-05/0.595, allocations: 14.5 kB / 0.8205 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.5951, allocations: 34.88 kB / 0.8206 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.5953, allocations: 113.6 kB / 0.8207 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5953, allocations: 1.688 kB / 0.8207 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5953, allocations: 0 / 0.8207 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.5953, allocations: 1.281 kB / 0.8207 GB, free: 27.58 MB / 0.6387 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.0005753/0.5959, allocations: 337 kB / 0.821 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.5959, allocations: 11.59 kB / 0.821 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.776e-05/0.596, allocations: 6.531 kB / 0.821 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.296e-05/0.596, allocations: 122.2 kB / 0.8211 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.5961, allocations: 3.188 kB / 0.8211 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.5961, allocations: 11.14 kB / 0.8211 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.5963, allocations: 64.62 kB / 0.8212 GB, free: 27.08 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.5963, allocations: 0.8438 kB / 0.8212 GB, free: 27.08 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.5963, allocations: 12.92 kB / 0.8212 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.5963, allocations: 6.25 kB / 0.8212 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.5965, allocations: 38.42 kB / 0.8213 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.5969, allocations: 264.4 kB / 0.8215 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.5971, allocations: 57.66 kB / 0.8216 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.5972, allocations: 39.25 kB / 0.8216 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.5972, allocations: 1.031 kB / 0.8216 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.5975, allocations: 92.45 kB / 0.8217 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.5975, allocations: 0 / 0.8217 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.0005267/0.598, allocations: 137.6 kB / 0.8218 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.598, allocations: 53.81 kB / 0.8219 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.038e-05/0.5981, allocations: 121.2 kB / 0.822 GB, free: 26.49 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.5982, allocations: 34.36 kB / 0.822 GB, free: 26.45 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.5982, allocations: 93.41 kB / 0.8221 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.5982, allocations: 25.75 kB / 0.8221 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.573e-05/0.5983, allocations: 37.27 kB / 0.8222 GB, free: 26.32 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.972e-05/0.5984, allocations: 324 kB / 0.8225 GB, free: 26 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.5986, allocations: 82.06 kB / 0.8226 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.5988, allocations: 116.9 kB / 0.8227 GB, free: 25.87 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.599, allocations: 143.8 kB / 0.8228 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.599, allocations: 0.875 kB / 0.8228 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000514/0.5996, allocations: 246.4 kB / 0.823 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.5996, allocations: 39.7 kB / 0.8231 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.5996, allocations: 1.125 kB / 0.8231 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.5996, allocations: 1.125 kB / 0.8231 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.704e-05/0.5997, allocations: 11.44 kB / 0.8231 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.5997, allocations: 3.469 kB / 0.8231 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.5999, allocations: 38.14 kB / 0.8231 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.6, allocations: 7.375 kB / 0.8231 GB, free: 25.57 MB / 0.6387 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 8.104e-05/0.6001, allocations: 135.1 kB / 0.8233 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.6001, allocations: 8.531 kB / 0.8233 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.277e-05/0.6001, allocations: 10.41 kB / 0.8233 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.6001, allocations: 1.312 kB / 0.8233 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.6001, allocations: 0 / 0.8233 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.6001, allocations: 1.797 kB / 0.8233 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.6005, allocations: 317.6 kB / 0.8236 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.6005, allocations: 1.344 kB / 0.8236 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.285e-05/0.6006, allocations: 12.14 kB / 0.8236 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.6006, allocations: 1.25 kB / 0.8236 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.6006, allocations: 2.188 kB / 0.8236 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.6006, allocations: 0 / 0.8236 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6006, allocations: 0.5156 kB / 0.8236 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.6009, allocations: 215 kB / 0.8238 GB, free: 25 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.6009, allocations: 10.25 kB / 0.8238 GB, free: 24.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.6009, allocations: 2.562 kB / 0.8238 GB, free: 24.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.937e-05/0.601, allocations: 7.062 kB / 0.8238 GB, free: 24.99 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.6011, allocations: 13.69 kB / 0.8238 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.6011, allocations: 2.578 kB / 0.8238 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.824e-05/0.6011, allocations: 91 kB / 0.8239 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6011, allocations: 0 / 0.8239 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002765/0.6014, allocations: 22.05 kB / 0.824 GB, free: 24.9 MB / 0.6387 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.000135/0.6015, allocations: 113 kB / 0.8241 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004062/0.6019, allocations: 196.4 kB / 0.8242 GB, free: 24.67 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.6019, allocations: 0 / 0.8242 GB, free: 24.67 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.6021, allocations: 32.66 kB / 0.8243 GB, free: 24.67 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.6024, allocations: 12.53 kB / 0.8243 GB, free: 24.66 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003814/0.6027, allocations: 164.2 kB / 0.8244 GB, free: 24.52 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.598e-05/0.6028, allocations: 80.16 kB / 0.8245 GB, free: 24.44 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.274e-05/0.6029, allocations: 9.109 kB / 0.8245 GB, free: 24.44 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.6029, allocations: 16.64 kB / 0.8246 GB, free: 24.43 MB / 0.6387 GB Notification: Performance of SimCode: time 2.91e-07/0.6029, allocations: 0 / 0.8246 GB, free: 24.43 MB / 0.6387 GB Notification: Performance of Templates: time 0.005463/0.6084, allocations: 1.598 MB / 0.8261 GB, free: 24.26 MB / 0.6387 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.924019264057279] Failed to read output from testmodel.py, exit status != 0: 0.6167390439659357 0.630459297 0.032237596 Calling exit ...