Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001181/0.001181, allocations: 76.45 kB / 19.9 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.001579/0.001579, allocations: 170.2 kB / 23.18 MB, free: 1.383 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.9346/0.9346, allocations: 177.2 MB / 203.6 MB, free: 5.793 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7132/0.7132, allocations: 154.9 MB / 414.9 MB, free: 0.5078 MB / 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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001429/0.001429, allocations: 69.11 kB / 0.6198 GB, free: 12.79 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.5575/0.5589, allocations: 102 MB / 0.7194 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001882/0.5608, allocations: 0.7192 MB / 0.7201 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.5622, allocations: 1.195 MB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.051e-05/0.5623, allocations: 1.188 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.973e-05/0.5623, allocations: 5.062 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.401e-05/0.5624, allocations: 19.5 kB / 0.7213 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005391/0.563, allocations: 136.3 kB / 0.7214 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.5632, allocations: 129.4 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.5633, allocations: 24.88 kB / 0.7216 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.5635, allocations: 67.81 kB / 0.7217 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.5636, allocations: 41.75 kB / 0.7217 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.5636, allocations: 15.27 kB / 0.7217 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.936e-05/0.5637, allocations: 27.47 kB / 0.7217 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.899e-05/0.5637, allocations: 12.94 kB / 0.7217 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.45e-05/0.5638, allocations: 44.19 kB / 0.7218 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.564, allocations: 127.5 kB / 0.7219 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.564, allocations: 0 / 0.7219 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.645e-06/0.564, allocations: 0 / 0.7219 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.564, allocations: 5.094 kB / 0.7219 GB, free: 21.87 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.0005322/0.5645, allocations: 356.1 kB / 0.7223 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.5646, allocations: 10.47 kB / 0.7223 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.5647, allocations: 13.55 kB / 0.7223 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.598e-05/0.5648, allocations: 112.1 kB / 0.7224 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.5648, allocations: 7.688 kB / 0.7224 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.5648, allocations: 8.766 kB / 0.7224 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.565, allocations: 72.56 kB / 0.7225 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.565, allocations: 5.031 kB / 0.7225 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.565, allocations: 8.797 kB / 0.7225 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.5651, allocations: 2.156 kB / 0.7225 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.5652, allocations: 44.84 kB / 0.7225 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.5656, allocations: 265.6 kB / 0.7228 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.5658, allocations: 54.33 kB / 0.7228 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.121e-05/0.5658, allocations: 32.34 kB / 0.7229 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.5659, allocations: 5.156 kB / 0.7229 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.5661, allocations: 96.62 kB / 0.723 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.765e-06/0.5661, allocations: 0 / 0.723 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003586/0.5664, allocations: 146.8 kB / 0.7231 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.5665, allocations: 54.2 kB / 0.7231 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.239e-05/0.5665, allocations: 126.3 kB / 0.7233 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.5666, allocations: 36.27 kB / 0.7233 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.338e-05/0.5666, allocations: 90.72 kB / 0.7234 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.5666, allocations: 27.81 kB / 0.7234 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.136e-05/0.5667, allocations: 38.91 kB / 0.7235 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.997e-05/0.5667, allocations: 323.3 kB / 0.7238 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.5669, allocations: 81.91 kB / 0.7238 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.567, allocations: 126.2 kB / 0.724 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.5672, allocations: 157.6 kB / 0.7241 GB, free: 20 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5672, allocations: 0 / 0.7241 GB, free: 20 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003347/0.5675, allocations: 246.1 kB / 0.7243 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.5676, allocations: 40.25 kB / 0.7244 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5676, allocations: 2.297 kB / 0.7244 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.5676, allocations: 3.156 kB / 0.7244 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.987e-05/0.5677, allocations: 17.47 kB / 0.7244 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.5677, allocations: 2.969 kB / 0.7244 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.5678, allocations: 34.25 kB / 0.7244 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.5678, allocations: 12.16 kB / 0.7245 GB, free: 19.81 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 7.093e-05/0.5679, allocations: 127.9 kB / 0.7246 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.5679, allocations: 11.34 kB / 0.7246 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.5681, allocations: 127.2 kB / 0.7247 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.5681, allocations: 1.859 kB / 0.7247 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5681, allocations: 0 / 0.7247 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.5681, allocations: 2.047 kB / 0.7247 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.5684, allocations: 323.1 kB / 0.725 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.5684, allocations: 6 kB / 0.725 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/0.5684, allocations: 12.97 kB / 0.725 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.5684, allocations: 1.406 kB / 0.725 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.5684, allocations: 0.7969 kB / 0.725 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5684, allocations: 1.375 kB / 0.725 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5685, allocations: 0.8906 kB / 0.725 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.5686, allocations: 211.8 kB / 0.7252 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.5686, allocations: 6.859 kB / 0.7253 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.5687, allocations: 5.734 kB / 0.7253 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.357e-05/0.5687, allocations: 11.36 kB / 0.7253 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.5687, allocations: 9.141 kB / 0.7253 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.5687, allocations: 3.156 kB / 0.7253 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.263e-05/0.5688, allocations: 95.42 kB / 0.7254 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5688, allocations: 0 / 0.7254 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001894/0.569, allocations: 30.42 kB / 0.7254 GB, free: 19.08 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 0.000119/0.5691, allocations: 101.8 kB / 0.7255 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002824/0.5694, allocations: 196.5 kB / 0.7257 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5694, allocations: 1.156 kB / 0.7257 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.389e-05/0.5694, allocations: 36.97 kB / 0.7257 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.5697, allocations: 8.859 kB / 0.7257 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.57, allocations: 182.8 kB / 0.7259 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.56e-05/0.57, allocations: 81.28 kB / 0.726 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.038e-05/0.5701, allocations: 9.344 kB / 0.726 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.5701, allocations: 11.25 kB / 0.726 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/0.5701, allocations: 0 / 0.726 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of Templates: time 0.003896/0.574, allocations: 1.57 MB / 0.7275 GB, free: 18.43 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.353742812993005] Failed to read output from testmodel.py, exit status != 0: 0.5814404309494421 0.59148762 0.025486493000000002 Calling exit ...