Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.0006164/0.0006164, allocations: 76.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.0007257/0.0007257, allocations: 173.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.8241/0.8241, allocations: 177.1 MB / 203.5 MB, free: 5.531 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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6561/0.6561, allocations: 154.5 MB / 414.5 MB, free: 0.7695 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.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.922e-05, allocations: 2.812 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001319/0.001348, allocations: 0.7113 MB / 0.62 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.002628, allocations: 1.096 MB / 0.6211 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.762e-05/0.002675, allocations: 4 kB / 0.6211 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.906e-05/0.002704, allocations: 3.938 kB / 0.6211 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.268e-05/0.002777, allocations: 15.84 kB / 0.6211 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.00308, allocations: 55.77 kB / 0.6211 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.93e-05/0.003179, allocations: 67.78 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.993e-05/0.003279, allocations: 16.16 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.681e-05/0.003356, allocations: 43.91 kB / 0.6213 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.68e-05/0.003403, allocations: 31.89 kB / 0.6213 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.003418, allocations: 4 kB / 0.6213 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.366e-05/0.003472, allocations: 15.98 kB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.003494, allocations: 15.98 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.989e-05/0.003524, allocations: 19.92 kB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.003665, allocations: 87.67 kB / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003667, allocations: 0 / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.463e-06/0.003669, allocations: 0 / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.003673, allocations: 0 / 0.6214 GB, free: 11.03 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004392/0.004112, allocations: 310 kB / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.004148, allocations: 13.47 kB / 0.6217 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.004185, allocations: 8.891 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.454e-05/0.00427, allocations: 117.7 kB / 0.6218 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.004282, allocations: 4.375 kB / 0.6219 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.004294, allocations: 8.375 kB / 0.6219 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.004433, allocations: 66.22 kB / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.004442, allocations: 192 / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.004452, allocations: 4.312 kB / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.004458, allocations: 4.125 kB / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.555e-05/0.004544, allocations: 51.89 kB / 0.622 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.00496, allocations: 260.4 kB / 0.6222 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.005078, allocations: 58.58 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.91e-05/0.005127, allocations: 24.97 kB / 0.6223 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.005151, allocations: 7.938 kB / 0.6223 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.005299, allocations: 75.38 kB / 0.6224 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.0053, allocations: 4 kB / 0.6224 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002763/0.005577, allocations: 129.5 kB / 0.6225 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.005615, allocations: 55.41 kB / 0.6226 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.75e-05/0.005692, allocations: 125.2 kB / 0.6227 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.005706, allocations: 29.7 kB / 0.6227 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.005747, allocations: 92.12 kB / 0.6228 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.005762, allocations: 23.84 kB / 0.6228 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.005799, allocations: 25.72 kB / 0.6229 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.268e-05/0.005872, allocations: 318.8 kB / 0.6232 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.407e-05/0.005936, allocations: 31.97 kB / 0.6232 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.399e-05/0.00601, allocations: 73.98 kB / 0.6233 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.006139, allocations: 109.8 kB / 0.6234 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.006141, allocations: 0 / 0.6234 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001655/0.006307, allocations: 125.6 kB / 0.6235 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.006319, allocations: 14.38 kB / 0.6235 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.006325, allocations: 0 / 0.6235 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.006339, allocations: 4 kB / 0.6235 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.748e-05/0.006417, allocations: 19.92 kB / 0.6235 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.006424, allocations: 7.984 kB / 0.6235 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.006466, allocations: 15.89 kB / 0.6235 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.006476, allocations: 7.938 kB / 0.6235 GB, free: 8.641 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$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): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.863e-05/0.006545, allocations: 122.8 kB / 0.6237 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-06/0.006553, allocations: 7.891 kB / 0.6237 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.555e-05/0.006579, allocations: 20.38 kB / 0.6237 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.006581, allocations: 0 / 0.6237 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.006586, allocations: 0 / 0.6237 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.006589, allocations: 0 / 0.6237 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.006869, allocations: 318.1 kB / 0.624 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.006873, allocations: 4 kB / 0.624 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/0.0069, allocations: 7.984 kB / 0.624 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.006902, allocations: 0 / 0.624 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.006909, allocations: 8 kB / 0.624 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.006911, allocations: 3.938 kB / 0.624 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.006913, allocations: 0 / 0.624 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.007063, allocations: 203.4 kB / 0.6242 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.007073, allocations: 7.891 kB / 0.6242 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.007084, allocations: 4 kB / 0.6242 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.963e-05/0.007124, allocations: 11.98 kB / 0.6242 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.007159, allocations: 7.969 kB / 0.6242 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.007165, allocations: 4 kB / 0.6242 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.678e-05/0.007202, allocations: 95.27 kB / 0.6243 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007202, allocations: 0 / 0.6243 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001792/0.007381, allocations: 16 kB / 0.6244 GB, free: 7.75 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001351/0.007516, allocations: 103.2 kB / 0.6245 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001637/0.00768, allocations: 76.34 kB / 0.6245 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.007682, allocations: 448 / 0.6245 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.811e-05/0.00774, allocations: 39.95 kB / 0.6246 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.007936, allocations: 16.08 kB / 0.6246 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.008247, allocations: 179.3 kB / 0.6247 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.011e-05/0.008297, allocations: 79.27 kB / 0.6248 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.008323, allocations: 12.5 kB / 0.6248 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of SimCode: time 4.71e-07/0.008324, allocations: 0 / 0.6248 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of Templates: time 0.001924/0.01025, allocations: 1.078 MB / 0.6259 GB, free: 6.125 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.560352713800967] Failed to read output from testmodel.py, exit status != 0: 0.01590523961931467 0.024285806 0.0188992 Calling exit ...