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.0007612/0.0007612, allocations: 76.45 kB / 19.91 MB, free: 16 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.0007825/0.0007825, allocations: 165.9 kB / 23.18 MB, free: 1.387 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 0.8302/0.8302, allocations: 177.2 MB / 203.6 MB, free: 5.785 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-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.7199/0.7199, allocations: 154.9 MB / 414.9 MB, free: 496 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.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.0009018/0.0009018, allocations: 79.86 kB / 0.6199 GB, free: 12.73 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4335/0.4344, allocations: 102 MB / 0.7195 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001338/0.4357, allocations: 0.7234 MB / 0.7202 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.4368, allocations: 1.174 MB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.979e-05/0.4368, allocations: 1.281 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.854e-05/0.4369, allocations: 4.453 kB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.004e-05/0.4369, allocations: 16.05 kB / 0.7214 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.4373, allocations: 136.3 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.4375, allocations: 122.3 kB / 0.7216 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.138e-05/0.4376, allocations: 10.86 kB / 0.7216 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.4377, allocations: 68.89 kB / 0.7217 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.719e-05/0.4377, allocations: 45.2 kB / 0.7217 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.4378, allocations: 10.84 kB / 0.7217 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.344e-05/0.4378, allocations: 19.3 kB / 0.7218 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.4378, allocations: 13.83 kB / 0.7218 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.4379, allocations: 45.77 kB / 0.7218 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.4381, allocations: 138 kB / 0.7219 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.4381, allocations: 0 / 0.7219 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4381, allocations: 0 / 0.7219 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.4381, allocations: 3.938 kB / 0.7219 GB, free: 21.89 MB / 0.6355 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.0004497/0.4385, allocations: 345.8 kB / 0.7223 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.4386, allocations: 11.61 kB / 0.7223 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.4386, allocations: 6.625 kB / 0.7223 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.561e-05/0.4387, allocations: 116.4 kB / 0.7224 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.4387, allocations: 4.234 kB / 0.7224 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.4387, allocations: 11.56 kB / 0.7224 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.4389, allocations: 68.72 kB / 0.7225 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.4389, allocations: 4.125 kB / 0.7225 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.4389, allocations: 5.156 kB / 0.7225 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.4389, allocations: 5.125 kB / 0.7225 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.92e-05/0.439, allocations: 44.86 kB / 0.7225 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.4393, allocations: 254.1 kB / 0.7228 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.4394, allocations: 65.25 kB / 0.7228 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.4395, allocations: 32.12 kB / 0.7229 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.4395, allocations: 1.094 kB / 0.7229 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.4397, allocations: 87.92 kB / 0.723 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.4397, allocations: 0 / 0.723 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002906/0.44, allocations: 153.8 kB / 0.7231 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.44, allocations: 54.31 kB / 0.7232 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.741e-05/0.4401, allocations: 120.1 kB / 0.7233 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.4401, allocations: 29.92 kB / 0.7233 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.089e-05/0.4401, allocations: 93.61 kB / 0.7234 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.4401, allocations: 20.25 kB / 0.7234 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.4402, allocations: 38.42 kB / 0.7234 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.143e-05/0.4402, allocations: 319.6 kB / 0.7238 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.4403, allocations: 82.08 kB / 0.7238 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.4404, allocations: 117.4 kB / 0.7239 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.4406, allocations: 142.8 kB / 0.7241 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.4406, allocations: 5.062 kB / 0.7241 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002689/0.4408, allocations: 241.7 kB / 0.7243 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.4409, allocations: 39.58 kB / 0.7244 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4409, allocations: 2.016 kB / 0.7244 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.4409, allocations: 1.188 kB / 0.7244 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.436e-05/0.441, allocations: 14.89 kB / 0.7244 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.441, allocations: 10.78 kB / 0.7244 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.4411, allocations: 37.84 kB / 0.7244 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.4411, allocations: 9.156 kB / 0.7244 GB, free: 19.86 MB / 0.6355 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 5.784e-05/0.4412, allocations: 128.4 kB / 0.7245 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.086e-06/0.4412, allocations: 2.531 kB / 0.7246 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.302e-05/0.4412, allocations: 11.78 kB / 0.7246 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4412, allocations: 5.594 kB / 0.7246 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4412, allocations: 4.453 kB / 0.7246 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.4412, allocations: 0.8438 kB / 0.7246 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.4415, allocations: 322.7 kB / 0.7249 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4415, allocations: 1.375 kB / 0.7249 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.882e-05/0.4415, allocations: 16.45 kB / 0.7249 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.4415, allocations: 0 / 0.7249 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.4415, allocations: 5.875 kB / 0.7249 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4415, allocations: 5.094 kB / 0.7249 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4415, allocations: 0 / 0.7249 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.4417, allocations: 210.5 kB / 0.7251 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.4417, allocations: 4.062 kB / 0.7251 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.4417, allocations: 4.75 kB / 0.7251 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.58e-05/0.4417, allocations: 7.406 kB / 0.7251 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.4418, allocations: 6.078 kB / 0.7251 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.4418, allocations: 8.406 kB / 0.7251 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.305e-05/0.4418, allocations: 90.53 kB / 0.7252 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4418, allocations: 4 kB / 0.7252 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001769/0.442, allocations: 33.05 kB / 0.7253 GB, free: 19.18 MB / 0.6355 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.745e-05/0.4421, allocations: 105.8 kB / 0.7254 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.4423, allocations: 187.9 kB / 0.7255 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4423, allocations: 1.062 kB / 0.7255 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.941e-05/0.4424, allocations: 48.56 kB / 0.7256 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.4426, allocations: 9.25 kB / 0.7256 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.4429, allocations: 190.4 kB / 0.7258 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.192e-05/0.4429, allocations: 71.62 kB / 0.7258 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.4429, allocations: 17.72 kB / 0.7259 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/0.4429, allocations: 0 / 0.7259 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of Templates: time 0.002351/0.4453, allocations: 1.308 MB / 0.7271 GB, free: 18.59 MB / 0.6355 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.3785673410166055] Failed to read output from testmodel.py, exit status != 0: 0.45029110996983945 0.45768465399999997 0.018025767 Calling exit ...