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.001496/0.001496, allocations: 92.7 kB / 19.44 MB, free: 320 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.001823/0.001823, allocations: 165.3 kB / 22.76 MB, free: 1.645 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 1.494/1.494, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 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-545:108: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-545:116: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.229/1.229, allocations: 154.6 MB / 414.1 MB, free: 0.6133 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 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.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: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0.9844 kB / 0.5196 GB, free: 2.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.573e-05/3.782e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002168/0.002206, allocations: 0.7231 MB / 0.5203 GB, free: 1.828 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.004366, allocations: 1.199 MB / 0.5215 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.881e-05/0.004435, allocations: 0 / 0.5215 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.906e-05/0.004474, allocations: 8.453 kB / 0.5215 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.004574, allocations: 16.42 kB / 0.5215 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.005166, allocations: 137.1 kB / 0.5216 GB, free: 472 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.005402, allocations: 123.7 kB / 0.5218 GB, free: 348 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.005516, allocations: 16.16 kB / 0.5218 GB, free: 328 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.005689, allocations: 77.34 kB / 0.5218 GB, free: 252 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.005801, allocations: 35.94 kB / 0.5219 GB, free: 216 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.005837, allocations: 12 kB / 0.5219 GB, free: 204 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.221e-05/0.005929, allocations: 35.91 kB / 0.5219 GB, free: 168 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.622e-05/0.005956, allocations: 8.672 kB / 0.5219 GB, free: 160 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.37e-05/0.006049, allocations: 40.47 kB / 0.522 GB, free: 120 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.006348, allocations: 147.5 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.006352, allocations: 1.969 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.322e-06/0.006353, allocations: 0 / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.006358, allocations: 0 / 0.5221 GB, free: 15.97 MB / 0.4948 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.0007619/0.00712, allocations: 343.8 kB / 0.5224 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.007166, allocations: 8.562 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.007342, allocations: 16.89 kB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.007495, allocations: 118.4 kB / 0.5226 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/0.007528, allocations: 12.31 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.007556, allocations: 12.92 kB / 0.5226 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005231/0.008079, allocations: 71.66 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.00809, allocations: 192 / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.008101, allocations: 384 / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.008112, allocations: 8.906 kB / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.008324, allocations: 44.92 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006465/0.008971, allocations: 271.3 kB / 0.523 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.009178, allocations: 54.55 kB / 0.523 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.009288, allocations: 32.91 kB / 0.5231 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.009315, allocations: 0 / 0.5231 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003098/0.009625, allocations: 92.02 kB / 0.5232 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.009626, allocations: 0 / 0.5232 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0005597/0.01019, allocations: 155.3 kB / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/0.01026, allocations: 63.34 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.01041, allocations: 121.8 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.01045, allocations: 33.69 kB / 0.5235 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.01058, allocations: 92.09 kB / 0.5236 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.01062, allocations: 17.12 kB / 0.5236 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.01075, allocations: 41.69 kB / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002509/0.011, allocations: 314.8 kB / 0.524 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.01122, allocations: 82.28 kB / 0.524 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.01147, allocations: 119.5 kB / 0.5241 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003731/0.01185, allocations: 154.3 kB / 0.5243 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.01185, allocations: 0 / 0.5243 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005738/0.01242, allocations: 259.9 kB / 0.5245 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.803e-05/0.01248, allocations: 37.69 kB / 0.5246 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.01249, allocations: 8.25 kB / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.01251, allocations: 0 / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.01263, allocations: 15.98 kB / 0.5246 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.01263, allocations: 1.812 kB / 0.5246 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.01287, allocations: 39.86 kB / 0.5246 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.0129, allocations: 15.97 kB / 0.5247 GB, free: 13.14 MB / 0.4948 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 0.000131/0.01303, allocations: 123.7 kB / 0.5248 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.01305, allocations: 11.89 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000351/0.0134, allocations: 132.8 kB / 0.5249 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01341, allocations: 48 / 0.5249 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.01341, allocations: 3.984 kB / 0.5249 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.01342, allocations: 4 kB / 0.5249 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000521/0.01394, allocations: 314.1 kB / 0.5252 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01394, allocations: 1.75 kB / 0.5252 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.103e-05/0.014, allocations: 11.98 kB / 0.5252 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.014, allocations: 0 / 0.5252 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.01402, allocations: 7.938 kB / 0.5252 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.01402, allocations: 0 / 0.5252 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01402, allocations: 2.375 kB / 0.5252 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.01439, allocations: 219.4 kB / 0.5255 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.308e-05/0.0144, allocations: 4 kB / 0.5255 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.01443, allocations: 7.984 kB / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.654e-05/0.01451, allocations: 8.812 kB / 0.5255 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.01457, allocations: 7.984 kB / 0.5255 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.01458, allocations: 5.5 kB / 0.5255 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.424e-05/0.01466, allocations: 91.27 kB / 0.5256 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01466, allocations: 0 / 0.5256 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002836/0.01494, allocations: 31.89 kB / 0.5256 GB, free: 12.11 MB / 0.4948 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.0002033/0.01515, allocations: 100.4 kB / 0.5257 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00048/0.01563, allocations: 195.1 kB / 0.5259 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01563, allocations: 0 / 0.5259 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.01577, allocations: 44.69 kB / 0.5259 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.01607, allocations: 17.67 kB / 0.5259 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004875/0.01656, allocations: 175.9 kB / 0.5261 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.2e-05/0.01665, allocations: 75.33 kB / 0.5262 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.62e-05/0.01669, allocations: 4 kB / 0.5262 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.01673, allocations: 20.48 kB / 0.5262 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/0.01673, allocations: 0 / 0.5262 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.005159/0.02189, allocations: 1.55 MB / 0.5277 GB, free: 9.98 MB / 0.4948 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.891133560915478]