Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007035/0.0007035, 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.0007492/0.0007492, allocations: 212.1 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.9017/0.9017, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.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.7557/0.7557, allocations: 203.5 MB / 0.5046 GB, free: 10.71 MB / 410.7 MB " [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.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.0009052/0.0009052, allocations: 65.88 kB / 0.719 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4469/0.4478, allocations: 102 MB / 0.8186 GB, free: 1.504 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001322/0.4492, allocations: 0.7235 MB / 0.8193 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008532/0.45, allocations: 1.173 MB / 0.8205 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.49e-05/0.4501, allocations: 5.969 kB / 0.8205 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.138e-05/0.4501, allocations: 4.594 kB / 0.8205 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.031e-05/0.4501, allocations: 7.438 kB / 0.8205 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.4505, allocations: 146.6 kB / 0.8206 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.4506, allocations: 112.3 kB / 0.8207 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.815e-05/0.4507, allocations: 14.59 kB / 0.8207 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.114e-05/0.4508, allocations: 49.69 kB / 0.8208 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.43e-05/0.4509, allocations: 41.22 kB / 0.8208 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.4509, allocations: 8.688 kB / 0.8208 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.801e-05/0.4509, allocations: 23.06 kB / 0.8209 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/0.451, allocations: 17.75 kB / 0.8209 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.752e-05/0.451, allocations: 35.12 kB / 0.8209 GB, free: 0 / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.4512, allocations: 118.9 kB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.4512, allocations: 0 / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4512, allocations: 0 / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.4512, allocations: 2.5 kB / 0.821 GB, free: 15.96 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.0004858/0.4517, allocations: 349.4 kB / 0.8214 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.4517, allocations: 12 kB / 0.8214 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.156e-05/0.4518, allocations: 4.719 kB / 0.8214 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.882e-05/0.4518, allocations: 113.4 kB / 0.8215 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.4519, allocations: 7.812 kB / 0.8215 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.4519, allocations: 7.297 kB / 0.8215 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.452, allocations: 72.36 kB / 0.8216 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.452, allocations: 4.172 kB / 0.8216 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.452, allocations: 7.594 kB / 0.8216 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.452, allocations: 4 kB / 0.8216 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.4521, allocations: 49.75 kB / 0.8216 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.4525, allocations: 261.1 kB / 0.8219 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.4526, allocations: 56.69 kB / 0.8219 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.242e-05/0.4527, allocations: 30.77 kB / 0.822 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.4527, allocations: 6.312 kB / 0.822 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/0.4528, allocations: 87.08 kB / 0.822 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.4528, allocations: 3.531 kB / 0.822 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002668/0.4531, allocations: 140.2 kB / 0.8222 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.4531, allocations: 61.97 kB / 0.8222 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.639e-05/0.4532, allocations: 117.3 kB / 0.8223 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.4532, allocations: 33.8 kB / 0.8224 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.4532, allocations: 96.38 kB / 0.8225 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.4533, allocations: 16.77 kB / 0.8225 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.4533, allocations: 39.44 kB / 0.8225 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.217e-05/0.4534, allocations: 316.3 kB / 0.8228 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.4535, allocations: 81.41 kB / 0.8229 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.4536, allocations: 117.7 kB / 0.823 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.4538, allocations: 141.2 kB / 0.8232 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4538, allocations: 8.922 kB / 0.8232 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000269/0.454, allocations: 241.9 kB / 0.8234 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.4541, allocations: 39.08 kB / 0.8234 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4541, allocations: 1.031 kB / 0.8234 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.4541, allocations: 6.188 kB / 0.8234 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.275e-05/0.4541, allocations: 12.42 kB / 0.8234 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.4541, allocations: 5.062 kB / 0.8235 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.4542, allocations: 43.3 kB / 0.8235 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.4543, allocations: 10.58 kB / 0.8235 GB, free: 13.92 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 6.593e-05/0.4543, allocations: 124.7 kB / 0.8236 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-06/0.4543, allocations: 3.844 kB / 0.8236 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.037e-05/0.4543, allocations: 13.38 kB / 0.8236 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.4543, allocations: 1.031 kB / 0.8236 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4544, allocations: 2.062 kB / 0.8236 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4544, allocations: 3 kB / 0.8236 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.4546, allocations: 323.1 kB / 0.824 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4546, allocations: 0 / 0.824 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.449e-05/0.4546, allocations: 6.75 kB / 0.824 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4546, allocations: 2.578 kB / 0.824 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.4546, allocations: 5.594 kB / 0.824 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.4546, allocations: 0 / 0.824 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4546, allocations: 0 / 0.824 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.4548, allocations: 213.4 kB / 0.8242 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-06/0.4548, allocations: 3.594 kB / 0.8242 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.4548, allocations: 2.047 kB / 0.8242 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.195e-05/0.4549, allocations: 9.375 kB / 0.8242 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.4549, allocations: 11.62 kB / 0.8242 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.4549, allocations: 2.719 kB / 0.8242 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.432e-05/0.4549, allocations: 99.36 kB / 0.8243 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4549, allocations: 0 / 0.8243 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001678/0.4551, allocations: 24.52 kB / 0.8243 GB, free: 13.26 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 9.242e-05/0.4552, allocations: 110.4 kB / 0.8244 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002505/0.4554, allocations: 199.7 kB / 0.8246 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4554, allocations: 1.344 kB / 0.8246 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.719e-05/0.4555, allocations: 36.25 kB / 0.8246 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.4557, allocations: 17.27 kB / 0.8247 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.456, allocations: 195.3 kB / 0.8249 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.66e-05/0.456, allocations: 78.83 kB / 0.8249 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.234e-05/0.456, allocations: 12.42 kB / 0.8249 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of SimCode: time 2.7e-07/0.456, allocations: 0 / 0.8249 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of Templates: time 0.00214/0.4582, allocations: 1.291 MB / 0.8262 GB, free: 12.64 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.515324243810028] Failed to read output from testmodel.py, exit status != 0: 0.46293441997841 0.47239994799999996 0.019116889 Calling exit ...