Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.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.001492/0.001492, allocations: 88.72 kB / 19.44 MB, free: 352 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.001869/0.001869, allocations: 157.7 kB / 22.76 MB, free: 1.676 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.521/1.521, allocations: 177.1 MB / 203.1 MB, free: 5.262 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.266/1.266, allocations: 154.6 MB / 414.1 MB, free: 0.5664 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.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 0.5196 GB, free: 2.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.974e-05/3.229e-05, allocations: 2.969 kB / 0.5196 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001765/0.001798, allocations: 0.6418 MB / 0.5202 GB, free: 1.902 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.003376, allocations: 1.086 MB / 0.5213 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.398e-05/0.00341, allocations: 0 / 0.5213 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.89e-05/0.003439, allocations: 4.781 kB / 0.5213 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.44e-05/0.003503, allocations: 11.92 kB / 0.5213 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.003775, allocations: 45.03 kB / 0.5213 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.003881, allocations: 47.83 kB / 0.5214 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.213e-05/0.003963, allocations: 8 kB / 0.5214 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.571e-05/0.004049, allocations: 24.73 kB / 0.5214 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.991e-05/0.004099, allocations: 23.89 kB / 0.5214 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.004117, allocations: 4.562 kB / 0.5214 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.063e-05/0.004187, allocations: 23.92 kB / 0.5215 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.004209, allocations: 8.906 kB / 0.5215 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.954e-05/0.004249, allocations: 15.92 kB / 0.5215 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.004412, allocations: 64.33 kB / 0.5216 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.004417, allocations: 3.984 kB / 0.5216 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.866e-06/0.004419, allocations: 4.531 kB / 0.5216 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.004423, allocations: 4.75 kB / 0.5216 GB, free: 0.5195 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006149/0.005038, allocations: 285.4 kB / 0.5218 GB, free: 216 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.005073, allocations: 8.031 kB / 0.5218 GB, free: 208 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.005184, allocations: 16.83 kB / 0.5219 GB, free: 192 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.005303, allocations: 105.8 kB / 0.522 GB, free: 60 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.00532, allocations: 8.359 kB / 0.522 GB, free: 52 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/0.00533, allocations: 384 / 0.522 GB, free: 52 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.005567, allocations: 63.23 kB / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.005576, allocations: 192 / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.005587, allocations: 384 / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.005591, allocations: 0.9375 kB / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.005793, allocations: 52.77 kB / 0.5221 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.006223, allocations: 210.2 kB / 0.5223 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.006409, allocations: 50.55 kB / 0.5223 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.00652, allocations: 29.94 kB / 0.5224 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.006544, allocations: 3.984 kB / 0.5224 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.006763, allocations: 81.38 kB / 0.5224 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.006765, allocations: 4 kB / 0.5224 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0004456/0.00721, allocations: 117.6 kB / 0.5226 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.007268, allocations: 60.16 kB / 0.5226 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.007385, allocations: 105.8 kB / 0.5227 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.007409, allocations: 26.42 kB / 0.5227 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/0.007475, allocations: 88.91 kB / 0.5228 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.007506, allocations: 23.97 kB / 0.5229 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.007553, allocations: 17.72 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.007733, allocations: 324.3 kB / 0.5232 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.906e-05/0.007832, allocations: 23.92 kB / 0.5232 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.007958, allocations: 48.19 kB / 0.5232 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.00817, allocations: 83.23 kB / 0.5233 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.008172, allocations: 0 / 0.5233 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002924/0.008464, allocations: 109.5 kB / 0.5234 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.008486, allocations: 11.94 kB / 0.5234 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.008491, allocations: 1.562 kB / 0.5234 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.008509, allocations: 0 / 0.5234 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.008613, allocations: 19.92 kB / 0.5235 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.008621, allocations: 10.67 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.42e-05/0.008685, allocations: 4 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.008697, allocations: 4 kB / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001078/0.008805, allocations: 120.8 kB / 0.5236 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.008831, allocations: 19.92 kB / 0.5236 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003004/0.009131, allocations: 104.3 kB / 0.5237 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.009133, allocations: 0 / 0.5237 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.009137, allocations: 0 / 0.5237 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.00914, allocations: 0 / 0.5237 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/0.009618, allocations: 302 kB / 0.524 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.009619, allocations: 0.8125 kB / 0.524 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.008e-05/0.009679, allocations: 5.469 kB / 0.524 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.009682, allocations: 0 / 0.524 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.009695, allocations: 4 kB / 0.524 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.0097, allocations: 4.484 kB / 0.524 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.009701, allocations: 1.031 kB / 0.524 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.01004, allocations: 204.6 kB / 0.5242 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-06/0.01004, allocations: 0 / 0.5242 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.01007, allocations: 11.98 kB / 0.5242 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.01017, allocations: 4.625 kB / 0.5242 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.01022, allocations: 4.641 kB / 0.5242 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.01023, allocations: 4 kB / 0.5242 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.395e-05/0.01029, allocations: 90.7 kB / 0.5243 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01029, allocations: 0 / 0.5243 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002444/0.01054, allocations: 12 kB / 0.5243 GB, free: 13.45 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: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001606/0.0107, allocations: 95.25 kB / 0.5244 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002649/0.01096, allocations: 67.88 kB / 0.5245 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.01096, allocations: 2.938 kB / 0.5245 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.01107, allocations: 27.92 kB / 0.5245 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.01136, allocations: 19.92 kB / 0.5245 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003651/0.01172, allocations: 128.5 kB / 0.5247 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.578e-05/0.0118, allocations: 69 kB / 0.5247 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.25e-05/0.01183, allocations: 11.92 kB / 0.5247 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.01186, allocations: 8.5 kB / 0.5247 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of SimCode: time 4.71e-07/0.01186, allocations: 6.25 kB / 0.5248 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of Templates: time 0.00361/0.01547, allocations: 0.8392 MB / 0.5256 GB, free: 12.18 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.010019320063293]