Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.0007751/0.0007751, allocations: 76.45 kB / 19.91 MB, free: 20 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.0007594/0.0007594, allocations: 169.9 kB / 23.18 MB, free: 1.391 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.8415/0.8415, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.6816/0.6816, allocations: 154.7 MB / 414.7 MB, free: 0.7617 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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [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.0009042/0.0009042, allocations: 67.89 kB / 0.6195 GB, free: 13.16 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4223, allocations: 102 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001436/0.4238, allocations: 0.728 MB / 0.7198 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.4248, allocations: 1.192 MB / 0.721 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.309e-05/0.4248, allocations: 0 / 0.721 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.526e-05/0.4248, allocations: 5.203 kB / 0.721 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.393e-05/0.4249, allocations: 12.11 kB / 0.721 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003719/0.4253, allocations: 142.5 kB / 0.7211 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.4254, allocations: 125.9 kB / 0.7212 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.747e-05/0.4255, allocations: 12.86 kB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.4256, allocations: 75.98 kB / 0.7213 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.724e-05/0.4257, allocations: 41.94 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.4257, allocations: 11.12 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.824e-05/0.4258, allocations: 31.69 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.99e-05/0.4258, allocations: 16.66 kB / 0.7214 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.095e-05/0.4258, allocations: 45 kB / 0.7215 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.426, allocations: 147.3 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.426, allocations: 5.062 kB / 0.7216 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.232e-06/0.426, allocations: 3.938 kB / 0.7216 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.426, allocations: 0 / 0.7216 GB, free: 22.01 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003798/0.4264, allocations: 349.5 kB / 0.7219 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.4264, allocations: 9.969 kB / 0.722 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.593e-05/0.4265, allocations: 11.83 kB / 0.722 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.799e-05/0.4266, allocations: 114.9 kB / 0.7221 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.4266, allocations: 4.953 kB / 0.7221 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.4266, allocations: 16.22 kB / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.4267, allocations: 72.91 kB / 0.7222 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.4267, allocations: 3.938 kB / 0.7222 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.4267, allocations: 5.859 kB / 0.7222 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4268, allocations: 1.344 kB / 0.7222 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.4269, allocations: 45.02 kB / 0.7222 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.4272, allocations: 265.2 kB / 0.7225 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.4273, allocations: 58.12 kB / 0.7225 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.463e-05/0.4274, allocations: 28.11 kB / 0.7226 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.4274, allocations: 1.641 kB / 0.7226 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.4275, allocations: 104.4 kB / 0.7227 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.4275, allocations: 4.938 kB / 0.7227 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002826/0.4278, allocations: 147.2 kB / 0.7228 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.4278, allocations: 54.38 kB / 0.7229 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.295e-05/0.4279, allocations: 121.3 kB / 0.723 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.4279, allocations: 28.5 kB / 0.723 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.4279, allocations: 94.81 kB / 0.7231 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.428, allocations: 27.78 kB / 0.7231 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.428, allocations: 39.11 kB / 0.7231 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.875e-05/0.428, allocations: 324.2 kB / 0.7235 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.4281, allocations: 82.17 kB / 0.7235 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.4283, allocations: 127.6 kB / 0.7237 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.4284, allocations: 153.7 kB / 0.7238 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4284, allocations: 0 / 0.7238 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002716/0.4287, allocations: 249.5 kB / 0.724 GB, free: 20 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.4287, allocations: 34.22 kB / 0.7241 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.4287, allocations: 1.719 kB / 0.7241 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.4287, allocations: 2.469 kB / 0.7241 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.668e-05/0.4288, allocations: 17 kB / 0.7241 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.4288, allocations: 6.969 kB / 0.7241 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.4289, allocations: 36.02 kB / 0.7241 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.4289, allocations: 11.81 kB / 0.7241 GB, free: 19.95 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * 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.365e-05/0.429, allocations: 122.7 kB / 0.7243 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-06/0.429, allocations: 8.344 kB / 0.7243 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.4292, allocations: 127.7 kB / 0.7244 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4292, allocations: 1.672 kB / 0.7244 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4292, allocations: 0 / 0.7244 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4292, allocations: 0.5156 kB / 0.7244 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.4294, allocations: 329.4 kB / 0.7247 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4294, allocations: 0 / 0.7247 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.606e-05/0.4294, allocations: 18.52 kB / 0.7247 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.4295, allocations: 0 / 0.7247 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.4295, allocations: 2.219 kB / 0.7247 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4295, allocations: 0 / 0.7247 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4295, allocations: 1.375 kB / 0.7247 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.4296, allocations: 215.1 kB / 0.7249 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-06/0.4296, allocations: 7.844 kB / 0.7249 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.4296, allocations: 5.453 kB / 0.7249 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.473e-05/0.4297, allocations: 12.33 kB / 0.725 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.4297, allocations: 4.156 kB / 0.725 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.4297, allocations: 3.547 kB / 0.725 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.81e-05/0.4297, allocations: 98.31 kB / 0.7251 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4297, allocations: 0 / 0.7251 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001822/0.4299, allocations: 25.52 kB / 0.7251 GB, free: 19.23 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: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 8.403e-05/0.43, allocations: 107.4 kB / 0.7252 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002359/0.4302, allocations: 195.6 kB / 0.7254 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.4303, allocations: 0 / 0.7254 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.75e-05/0.4303, allocations: 38.39 kB / 0.7254 GB, free: 19 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.4305, allocations: 13.88 kB / 0.7254 GB, free: 19 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.4308, allocations: 209.3 kB / 0.7256 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.206e-05/0.4308, allocations: 81.33 kB / 0.7257 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.16e-05/0.4308, allocations: 15.88 kB / 0.7257 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of SimCode: time 4.61e-07/0.4308, allocations: 3.938 kB / 0.7257 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of Templates: time 0.002154/0.433, allocations: 1.315 MB / 0.727 GB, free: 18.62 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.245218317955732] Failed to read output from testmodel.py, exit status != 0: 0.43805034598335624 0.446206436 0.018480032 Calling exit ...