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.0009361/0.0009361, allocations: 88.23 kB / 19.64 MB, free: 308 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.0009315/0.0009315, allocations: 168.9 kB / 23.02 MB, free: 1.57 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.9415/0.9415, allocations: 177.1 MB / 203.4 MB, free: 5.621 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-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 0.7692/0.7692, allocations: 154.6 MB / 414.5 MB, free: 0.6484 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.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.745e-06/2.745e-06, allocations: 0 / 0.5203 GB, free: 2.227 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.448e-05, allocations: 4.375 kB / 0.5203 GB, free: 2.223 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001458/0.001482, allocations: 0.6529 MB / 0.5209 GB, free: 1.594 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.002561, allocations: 1.122 MB / 0.522 GB, free: 472 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.817e-05/0.0026, allocations: 1.375 kB / 0.522 GB, free: 472 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.028e-05/0.00263, allocations: 3.938 kB / 0.522 GB, free: 468 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.442e-05/0.002694, allocations: 4 kB / 0.522 GB, free: 464 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.003, allocations: 44.95 kB / 0.5221 GB, free: 420 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.025e-05/0.00309, allocations: 47.84 kB / 0.5221 GB, free: 372 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.003193, allocations: 8 kB / 0.5221 GB, free: 364 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.806e-05/0.003281, allocations: 36.72 kB / 0.5222 GB, free: 328 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.564e-05/0.003327, allocations: 11.97 kB / 0.5222 GB, free: 316 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.003345, allocations: 5.281 kB / 0.5222 GB, free: 312 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.389e-05/0.003409, allocations: 19.98 kB / 0.5222 GB, free: 292 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.003431, allocations: 15.92 kB / 0.5222 GB, free: 276 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.003459, allocations: 13.33 kB / 0.5222 GB, free: 264 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.003583, allocations: 55.75 kB / 0.5223 GB, free: 208 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.003585, allocations: 0 / 0.5223 GB, free: 208 kB / 490.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003586, allocations: 0 / 0.5223 GB, free: 208 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.00359, allocations: 0.7812 kB / 0.5223 GB, free: 208 kB / 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.0004547/0.004044, allocations: 390.3 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.00408, allocations: 8.031 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.058e-05/0.004171, allocations: 12.89 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.312e-05/0.004254, allocations: 108.6 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.004268, allocations: 14.42 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.004282, allocations: 8.359 kB / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.004406, allocations: 66.88 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.004415, allocations: 192 / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.004424, allocations: 384 / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.004431, allocations: 384 / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.569e-05/0.004467, allocations: 13.41 kB / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.004797, allocations: 275.7 kB / 0.5232 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.861e-05/0.004886, allocations: 44.02 kB / 0.5232 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.708e-05/0.004913, allocations: 15.75 kB / 0.5232 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.004936, allocations: 7.984 kB / 0.5232 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.597e-05/0.005012, allocations: 65.97 kB / 0.5233 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.005013, allocations: 3.938 kB / 0.5233 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0001692/0.005182, allocations: 70.17 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.005218, allocations: 56.25 kB / 0.5234 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.239e-05/0.005301, allocations: 165.9 kB / 0.5236 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.005313, allocations: 25.7 kB / 0.5236 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.005364, allocations: 140 kB / 0.5237 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.005381, allocations: 7.906 kB / 0.5237 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.005417, allocations: 31.36 kB / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.005535, allocations: 496.6 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.124e-05/0.005557, allocations: 13.77 kB / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.629e-05/0.005593, allocations: 46.73 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.755e-05/0.005651, allocations: 58.67 kB / 0.5243 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005652, allocations: 1.719 kB / 0.5243 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.893e-05/0.005741, allocations: 65.62 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.005754, allocations: 11.94 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.005759, allocations: 1.562 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.005774, allocations: 0 / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.689e-05/0.005851, allocations: 19.92 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.005858, allocations: 4 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.517e-05/0.005883, allocations: 8.688 kB / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-06/0.005891, allocations: 4.891 kB / 0.5245 GB, free: 13.76 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 6.642e-05/0.005957, allocations: 163.5 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.005967, allocations: 12.95 kB / 0.5246 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.006078, allocations: 74.05 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.00608, allocations: 0 / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.006083, allocations: 3.469 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.006086, allocations: 0 / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.006283, allocations: 321.5 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.006284, allocations: 0 / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.784e-05/0.006312, allocations: 15.92 kB / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.006313, allocations: 0 / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-06/0.006322, allocations: 4 kB / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.006323, allocations: 0 / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.006324, allocations: 2.75 kB / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.006437, allocations: 219.9 kB / 0.5252 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-06/0.006442, allocations: 4 kB / 0.5252 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.006453, allocations: 7.922 kB / 0.5252 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.002e-05/0.006493, allocations: 4 kB / 0.5253 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.006531, allocations: 11.98 kB / 0.5253 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.006541, allocations: 0 / 0.5253 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.886e-05/0.00659, allocations: 123.9 kB / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00659, allocations: 0 / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001617/0.006752, allocations: 17.12 kB / 0.5254 GB, free: 12.72 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.0001062/0.006858, allocations: 107.9 kB / 0.5255 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.965e-05/0.006957, allocations: 37.14 kB / 0.5255 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.006959, allocations: 0 / 0.5255 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.437e-05/0.006993, allocations: 23.61 kB / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.007186, allocations: 13.31 kB / 0.5256 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000453/0.007639, allocations: 143.2 kB / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.103e-05/0.00771, allocations: 59.34 kB / 0.5258 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.61e-05/0.007736, allocations: 5.312 kB / 0.5258 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.00776, allocations: 12.5 kB / 0.5258 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of SimCode: time 6.22e-07/0.007761, allocations: 1.625 kB / 0.5258 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of Templates: time 0.002402/0.01016, allocations: 0.8334 MB / 0.5266 GB, free: 11.48 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.754357836674899]