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.0008076/0.0008076, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000791/0.000791, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8382/0.8382, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.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.7118/0.7118, allocations: 154.6 MB / 414.5 MB, free: 0.8008 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.47e-05, allocations: 4.953 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001388/0.001413, allocations: 0.7185 MB / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.002502, allocations: 1.182 MB / 0.6212 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.375e-05/0.002546, allocations: 4 kB / 0.6212 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.002572, allocations: 3.938 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.223e-05/0.002634, allocations: 15.86 kB / 0.6212 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.003055, allocations: 134.4 kB / 0.6214 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.003191, allocations: 119.7 kB / 0.6215 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.146e-05/0.003272, allocations: 8 kB / 0.6215 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.324e-05/0.003365, allocations: 71.86 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.918e-05/0.003434, allocations: 35.89 kB / 0.6216 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.003455, allocations: 16 kB / 0.6216 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.11e-05/0.003506, allocations: 23.98 kB / 0.6216 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.003525, allocations: 11.98 kB / 0.6216 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.00357, allocations: 35.91 kB / 0.6217 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.003725, allocations: 135.6 kB / 0.6218 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.003727, allocations: 0 / 0.6218 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.182e-06/0.003728, allocations: 3.938 kB / 0.6218 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.003731, allocations: 0 / 0.6218 GB, free: 10.68 MB / 0.5886 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.0004361/0.004168, allocations: 339.8 kB / 0.6221 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.004201, allocations: 8.031 kB / 0.6221 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.004242, allocations: 12.89 kB / 0.6221 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.004375, allocations: 117.7 kB / 0.6222 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.004386, allocations: 384 / 0.6222 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.004403, allocations: 12.38 kB / 0.6223 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.00453, allocations: 66.22 kB / 0.6223 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.004538, allocations: 192 / 0.6223 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.004546, allocations: 384 / 0.6223 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.00455, allocations: 384 / 0.6223 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.942e-05/0.00465, allocations: 63.81 kB / 0.6224 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.004995, allocations: 252.5 kB / 0.6226 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.005109, allocations: 62.55 kB / 0.6227 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.776e-05/0.005157, allocations: 24.97 kB / 0.6227 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.005168, allocations: 4 kB / 0.6227 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.005307, allocations: 87.3 kB / 0.6228 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.005308, allocations: 0 / 0.6228 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002646/0.005573, allocations: 145.6 kB / 0.6229 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.005602, allocations: 59.34 kB / 0.623 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.178e-05/0.005664, allocations: 128.8 kB / 0.6231 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.00568, allocations: 25.7 kB / 0.6231 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.00572, allocations: 92.09 kB / 0.6232 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.005738, allocations: 23.83 kB / 0.6232 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.00579, allocations: 37.7 kB / 0.6233 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.21e-05/0.005862, allocations: 322.8 kB / 0.6236 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.005967, allocations: 85.66 kB / 0.6237 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.006072, allocations: 114 kB / 0.6238 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.006344, allocations: 141.9 kB / 0.6239 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.006346, allocations: 0 / 0.6239 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002546/0.006601, allocations: 248.8 kB / 0.6242 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.006628, allocations: 37.69 kB / 0.6242 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.006633, allocations: 0 / 0.6242 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.006643, allocations: 0 / 0.6242 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.396e-05/0.006697, allocations: 15.98 kB / 0.6242 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.006702, allocations: 4 kB / 0.6242 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.006807, allocations: 36.11 kB / 0.6242 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.006823, allocations: 15.98 kB / 0.6243 GB, free: 7.898 MB / 0.5886 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.514e-05/0.006888, allocations: 128.8 kB / 0.6244 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.006897, allocations: 11.89 kB / 0.6244 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.00692, allocations: 12.44 kB / 0.6244 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.006922, allocations: 3.938 kB / 0.6244 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.006926, allocations: 3.984 kB / 0.6244 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.006929, allocations: 0 / 0.6244 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.00719, allocations: 330.3 kB / 0.6247 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.007191, allocations: 0 / 0.6247 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/0.007216, allocations: 11.98 kB / 0.6247 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.007218, allocations: 0 / 0.6247 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.007227, allocations: 4 kB / 0.6247 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.007228, allocations: 0 / 0.6247 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.007229, allocations: 3.938 kB / 0.6247 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.007379, allocations: 215.3 kB / 0.625 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-06/0.007386, allocations: 7.953 kB / 0.625 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.007398, allocations: 0 / 0.625 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.424e-05/0.007442, allocations: 11.98 kB / 0.625 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.007474, allocations: 7.984 kB / 0.625 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.007479, allocations: 0 / 0.625 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.357e-05/0.007512, allocations: 95.27 kB / 0.6251 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007512, allocations: 0 / 0.6251 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001715/0.007684, allocations: 24 kB / 0.6251 GB, free: 6.98 MB / 0.5886 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.0001115/0.007795, allocations: 103.2 kB / 0.6252 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002316/0.008027, allocations: 193 kB / 0.6254 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.008028, allocations: 0 / 0.6254 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.102e-05/0.008089, allocations: 31.92 kB / 0.6254 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.008278, allocations: 21.48 kB / 0.6254 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002685/0.008547, allocations: 187.3 kB / 0.6256 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.74e-05/0.008594, allocations: 79.27 kB / 0.6257 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.008617, allocations: 12.5 kB / 0.6257 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of SimCode: time 5.11e-07/0.008618, allocations: 0 / 0.6257 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of Templates: time 0.001887/0.0105, allocations: 1.297 MB / 0.627 GB, free: 5.012 MB / 0.5886 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: 4.90711778961122] Failed to read output from testmodel.py, exit status != 0: 0.015553019009530544 0.023777241 0.018385604 Calling exit ...