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.0007699/0.0007699, allocations: 76.45 kB / 19.9 MB, free: 12 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.0008418/0.0008418, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.9291/0.9291, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.7489/0.7489, allocations: 154.7 MB / 414.7 MB, free: 0.7305 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.001223/0.001223, allocations: 73.27 kB / 0.6195 GB, free: 13.14 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.5426/0.5438, allocations: 101.9 MB / 0.7191 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001477/0.5453, allocations: 0.7301 MB / 0.7198 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.5463, allocations: 1.185 MB / 0.7209 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.535e-05/0.5464, allocations: 1.094 kB / 0.7209 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.5464, allocations: 8.969 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.577e-05/0.5465, allocations: 15.5 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.5469, allocations: 142.3 kB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.5471, allocations: 134.1 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.5472, allocations: 12.45 kB / 0.7212 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.5473, allocations: 71.69 kB / 0.7213 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.5474, allocations: 46.09 kB / 0.7214 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.5474, allocations: 11.28 kB / 0.7214 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.022e-05/0.5475, allocations: 35.44 kB / 0.7214 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.92e-05/0.5475, allocations: 13.88 kB / 0.7214 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.221e-05/0.5476, allocations: 47.2 kB / 0.7215 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.5478, allocations: 121.1 kB / 0.7216 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.5478, allocations: 0 / 0.7216 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5478, allocations: 0 / 0.7216 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.5478, allocations: 0 / 0.7216 GB, free: 22.09 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.0004387/0.5482, allocations: 351.2 kB / 0.7219 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.5482, allocations: 10.61 kB / 0.7219 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.334e-05/0.5483, allocations: 16.34 kB / 0.7219 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.318e-05/0.5484, allocations: 116.2 kB / 0.722 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.5484, allocations: 9.141 kB / 0.7221 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.5484, allocations: 11.59 kB / 0.7221 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.5486, allocations: 69.55 kB / 0.7221 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.5486, allocations: 3.938 kB / 0.7221 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.5486, allocations: 0.5625 kB / 0.7221 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.5486, allocations: 1.25 kB / 0.7221 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.5487, allocations: 49.98 kB / 0.7222 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.5491, allocations: 278.2 kB / 0.7225 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.5492, allocations: 53.77 kB / 0.7225 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.602e-05/0.5493, allocations: 28.61 kB / 0.7225 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.5493, allocations: 1.125 kB / 0.7225 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.5494, allocations: 100.8 kB / 0.7226 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.5494, allocations: 0 / 0.7226 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.000298/0.5497, allocations: 146.8 kB / 0.7228 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.5498, allocations: 54.61 kB / 0.7228 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.86e-05/0.5498, allocations: 125.6 kB / 0.7229 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.5498, allocations: 27.92 kB / 0.723 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.432e-05/0.5499, allocations: 95.11 kB / 0.7231 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.5499, allocations: 25.08 kB / 0.7231 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/0.5499, allocations: 41.56 kB / 0.7231 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.325e-05/0.55, allocations: 323.8 kB / 0.7234 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.5501, allocations: 86.12 kB / 0.7235 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.5502, allocations: 118.1 kB / 0.7236 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.5504, allocations: 153.6 kB / 0.7238 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5504, allocations: 4 kB / 0.7238 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002695/0.5506, allocations: 244.2 kB / 0.724 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.5507, allocations: 42.41 kB / 0.7241 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5507, allocations: 1.406 kB / 0.7241 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.5507, allocations: 1.156 kB / 0.7241 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.705e-05/0.5507, allocations: 19.16 kB / 0.7241 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.5507, allocations: 6.312 kB / 0.7241 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.5509, allocations: 30.61 kB / 0.7241 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.5509, allocations: 13.39 kB / 0.7241 GB, free: 20.02 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.273e-05/0.5509, allocations: 121.9 kB / 0.7242 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.5509, allocations: 11.98 kB / 0.7242 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001842/0.5511, allocations: 128 kB / 0.7244 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.5511, allocations: 6.453 kB / 0.7244 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5511, allocations: 0 / 0.7244 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.5511, allocations: 0 / 0.7244 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.5513, allocations: 320.6 kB / 0.7247 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.5513, allocations: 0 / 0.7247 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-05/0.5514, allocations: 18.7 kB / 0.7247 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.5514, allocations: 0.9844 kB / 0.7247 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.5514, allocations: 1.094 kB / 0.7247 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5514, allocations: 5.938 kB / 0.7247 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5514, allocations: 0 / 0.7247 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.5516, allocations: 215.5 kB / 0.7249 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.5516, allocations: 11.78 kB / 0.7249 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.5516, allocations: 1.438 kB / 0.7249 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.401e-05/0.5516, allocations: 10.48 kB / 0.7249 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.5517, allocations: 5.656 kB / 0.7249 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.5517, allocations: 4.609 kB / 0.7249 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.803e-05/0.5517, allocations: 97.5 kB / 0.725 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5517, allocations: 4 kB / 0.725 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001852/0.5519, allocations: 24.72 kB / 0.7251 GB, free: 19.29 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.806e-05/0.552, allocations: 102.4 kB / 0.7252 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000241/0.5522, allocations: 193.2 kB / 0.7253 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.5522, allocations: 1.062 kB / 0.7253 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.929e-05/0.5523, allocations: 36.72 kB / 0.7254 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.5525, allocations: 12.23 kB / 0.7254 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.5527, allocations: 183.6 kB / 0.7256 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.909e-05/0.5528, allocations: 81.45 kB / 0.7256 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.33e-05/0.5528, allocations: 8.5 kB / 0.7257 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.923e-05/0.5528, allocations: 11.97 kB / 0.7257 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of SimCode: time 5.92e-07/0.5528, allocations: 4 kB / 0.7257 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of Templates: time 0.003329/0.5562, allocations: 1.569 MB / 0.7272 GB, free: 18.64 MB / 0.6355 GB " [Timeout remaining time 659] 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.394762089010328] Failed to read output from testmodel.py, exit status != 0: 0.5610883489716798 0.57007266 0.020516701000000002 Calling exit ...