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.00141/0.00141, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.001704/0.001704, allocations: 173.8 kB / 22.46 MB, free: 5.355 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.492/1.492, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 1.191/1.191, allocations: 154.6 MB / 413.8 MB, free: 5.227 MB / 382.1 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 178] 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 3.366e-06/3.366e-06, allocations: 0 / 0.6186 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.345e-05/3.682e-05, allocations: 4.812 kB / 0.6186 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001986/0.002023, allocations: 0.7231 MB / 0.6193 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.003856, allocations: 1.177 MB / 0.6204 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.368e-05/0.00391, allocations: 0 / 0.6204 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.366e-05/0.003944, allocations: 3.938 kB / 0.6204 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.888e-05/0.004032, allocations: 19.86 kB / 0.6205 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005373/0.00457, allocations: 133.6 kB / 0.6206 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.004768, allocations: 128.5 kB / 0.6207 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.004885, allocations: 13.55 kB / 0.6207 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.005034, allocations: 63.89 kB / 0.6208 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.005143, allocations: 39.92 kB / 0.6208 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.005181, allocations: 12 kB / 0.6208 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.957e-05/0.005251, allocations: 19.94 kB / 0.6209 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.787e-05/0.005279, allocations: 16.89 kB / 0.6209 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.577e-05/0.005355, allocations: 39.89 kB / 0.6209 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.005584, allocations: 131.7 kB / 0.621 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.005587, allocations: 0 / 0.621 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.01e-07/0.005588, allocations: 0 / 0.621 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.005596, allocations: 0 / 0.621 GB, free: 2.035 MB / 0.5294 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.0006273/0.006223, allocations: 347.7 kB / 0.6214 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.006261, allocations: 8.031 kB / 0.6214 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.312e-05/0.006314, allocations: 4.938 kB / 0.6214 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.006441, allocations: 113.7 kB / 0.6215 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.006456, allocations: 8.375 kB / 0.6215 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.006486, allocations: 12.36 kB / 0.6215 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.006694, allocations: 70.17 kB / 0.6216 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.006703, allocations: 192 / 0.6216 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.006716, allocations: 4.359 kB / 0.6216 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.00672, allocations: 4.312 kB / 0.6216 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.006924, allocations: 47.89 kB / 0.6216 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004997/0.007424, allocations: 260.5 kB / 0.6219 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.007618, allocations: 62.55 kB / 0.6219 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.007728, allocations: 32.94 kB / 0.622 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.007738, allocations: 0 / 0.622 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002489/0.007986, allocations: 91.3 kB / 0.6221 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.007988, allocations: 0 / 0.6221 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0004881/0.008476, allocations: 145.5 kB / 0.6222 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.00853, allocations: 55.41 kB / 0.6223 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.008639, allocations: 121.8 kB / 0.6224 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.008671, allocations: 25.7 kB / 0.6224 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.004e-05/0.008751, allocations: 96.09 kB / 0.6225 GB, free: 404 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.008776, allocations: 19.91 kB / 0.6225 GB, free: 384 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-05/0.008858, allocations: 41.69 kB / 0.6225 GB, free: 336 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.009026, allocations: 318.8 kB / 0.6228 GB, free: 8 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.009251, allocations: 81.73 kB / 0.6229 GB, free: 15.92 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.009467, allocations: 121.9 kB / 0.623 GB, free: 15.78 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.009776, allocations: 141.9 kB / 0.6232 GB, free: 15.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.009778, allocations: 0 / 0.6232 GB, free: 15.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005099/0.01029, allocations: 248.9 kB / 0.6234 GB, free: 15.36 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/0.01033, allocations: 33.7 kB / 0.6234 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.01034, allocations: 7.984 kB / 0.6235 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.01035, allocations: 0 / 0.6235 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.01045, allocations: 11.94 kB / 0.6235 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.01046, allocations: 7.984 kB / 0.6235 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.01067, allocations: 31.92 kB / 0.6235 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.0107, allocations: 11.98 kB / 0.6235 GB, free: 15.25 MB / 0.545 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 0.0001084/0.01081, allocations: 122.9 kB / 0.6236 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.01083, allocations: 7.938 kB / 0.6236 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/0.01086, allocations: 8.438 kB / 0.6236 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.01086, allocations: 4 kB / 0.6237 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.01087, allocations: 0 / 0.6237 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.01087, allocations: 0 / 0.6237 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.01135, allocations: 326.2 kB / 0.624 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.01136, allocations: 3.984 kB / 0.624 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/0.01142, allocations: 16.06 kB / 0.624 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.01142, allocations: 0 / 0.624 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.01143, allocations: 0 / 0.624 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.01143, allocations: 3.984 kB / 0.624 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.01143, allocations: 0 / 0.624 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.01177, allocations: 219.4 kB / 0.6242 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.01178, allocations: 11.89 kB / 0.6242 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.0118, allocations: 4 kB / 0.6242 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.226e-05/0.0119, allocations: 11.98 kB / 0.6242 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.01194, allocations: 7.984 kB / 0.6242 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.01195, allocations: 0 / 0.6242 GB, free: 14.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.685e-05/0.012, allocations: 90.02 kB / 0.6243 GB, free: 14.37 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.012, allocations: 3.938 kB / 0.6243 GB, free: 14.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002832/0.01229, allocations: 31.98 kB / 0.6243 GB, free: 14.33 MB / 0.545 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.0001623/0.01245, allocations: 95.25 kB / 0.6244 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00044/0.01289, allocations: 193 kB / 0.6246 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01289, allocations: 0 / 0.6246 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.01302, allocations: 43.91 kB / 0.6247 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.0133, allocations: 11.92 kB / 0.6247 GB, free: 13.97 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.01369, allocations: 161.2 kB / 0.6248 GB, free: 13.78 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.042e-05/0.01376, allocations: 75.52 kB / 0.6249 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.041e-05/0.01379, allocations: 8 kB / 0.6249 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.01382, allocations: 12.5 kB / 0.6249 GB, free: 13.67 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.01382, allocations: 0 / 0.6249 GB, free: 13.67 MB / 0.545 GB Notification: Performance of Templates: time 0.004594/0.01841, allocations: 1.569 MB / 0.6265 GB, free: 12.15 MB / 0.545 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.712000478059053] Failed to read output from testmodel.py, exit status != 0: 0.02690790593624115 0.042185165000000004 0.033487180000000005 Calling exit ...