Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007445/0.0007445, 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.0007785/0.0007785, allocations: 169.8 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.9429/0.9429, allocations: 177.2 MB / 203.6 MB, free: 5.773 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.7272/0.7272, allocations: 154.9 MB / 414.9 MB, free: 0.5156 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.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") [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.001247/0.001247, allocations: 71.89 kB / 0.6198 GB, free: 12.85 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.4448/0.4461, allocations: 102 MB / 0.7194 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001725/0.4478, allocations: 0.6503 MB / 0.72 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.4491, allocations: 1.086 MB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.894e-05/0.4491, allocations: 0 / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.987e-05/0.4492, allocations: 5.484 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.607e-05/0.4493, allocations: 5.625 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.4496, allocations: 52.09 kB / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.4497, allocations: 40.31 kB / 0.7212 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.4498, allocations: 14.97 kB / 0.7212 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.034e-05/0.4499, allocations: 26.86 kB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.667e-05/0.4499, allocations: 23.56 kB / 0.7213 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.4499, allocations: 3.312 kB / 0.7213 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.565e-05/0.45, allocations: 24.55 kB / 0.7213 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.45, allocations: 10.84 kB / 0.7213 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.4501, allocations: 16.33 kB / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.4502, allocations: 60.3 kB / 0.7214 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4502, allocations: 0 / 0.7214 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4502, allocations: 4 kB / 0.7214 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.4502, allocations: 1.094 kB / 0.7214 GB, free: 22.19 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004422/0.4506, allocations: 298 kB / 0.7217 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.4507, allocations: 10.94 kB / 0.7217 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.672e-05/0.4508, allocations: 4.891 kB / 0.7217 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.316e-05/0.4509, allocations: 118.1 kB / 0.7218 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.4509, allocations: 2.656 kB / 0.7218 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.4509, allocations: 6.562 kB / 0.7218 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.451, allocations: 70.62 kB / 0.7219 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.451, allocations: 1.312 kB / 0.7219 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.4511, allocations: 3.938 kB / 0.7219 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.4511, allocations: 1.219 kB / 0.7219 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.4512, allocations: 46.75 kB / 0.7219 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.4514, allocations: 207.6 kB / 0.7221 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.4516, allocations: 55.58 kB / 0.7222 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.749e-05/0.4516, allocations: 35.44 kB / 0.7222 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.4516, allocations: 1.656 kB / 0.7222 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000122/0.4518, allocations: 72.19 kB / 0.7223 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.4518, allocations: 0 / 0.7223 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002654/0.452, allocations: 127.7 kB / 0.7224 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.452, allocations: 52.5 kB / 0.7224 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.962e-05/0.4521, allocations: 113.2 kB / 0.7226 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.4521, allocations: 26.89 kB / 0.7226 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.424e-05/0.4521, allocations: 86.69 kB / 0.7227 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.4521, allocations: 11.91 kB / 0.7227 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.4522, allocations: 26.3 kB / 0.7227 GB, free: 21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.522e-05/0.4522, allocations: 315.2 kB / 0.723 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.722e-05/0.4523, allocations: 22.45 kB / 0.723 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.872e-05/0.4523, allocations: 52.17 kB / 0.7231 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.4524, allocations: 81.25 kB / 0.7232 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4524, allocations: 1.844 kB / 0.7232 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001609/0.4526, allocations: 109.6 kB / 0.7233 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.4526, allocations: 5.562 kB / 0.7233 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4526, allocations: 6.188 kB / 0.7233 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.4526, allocations: 1.375 kB / 0.7233 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.27e-05/0.4527, allocations: 16.91 kB / 0.7233 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.4527, allocations: 7.266 kB / 0.7233 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.468e-05/0.4527, allocations: 10.58 kB / 0.7233 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.4528, allocations: 6.188 kB / 0.7233 GB, free: 20.52 MB / 0.6355 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 4.166e-05/0.4528, allocations: 123.2 kB / 0.7234 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-06/0.4528, allocations: 10.36 kB / 0.7234 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.453, allocations: 109.5 kB / 0.7235 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.453, allocations: 1.188 kB / 0.7235 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.453, allocations: 4.922 kB / 0.7235 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.453, allocations: 3.938 kB / 0.7236 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.4532, allocations: 294.1 kB / 0.7238 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4532, allocations: 0 / 0.7238 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.964e-05/0.4532, allocations: 13.16 kB / 0.7238 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4532, allocations: 1.031 kB / 0.7238 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.4532, allocations: 5.031 kB / 0.7238 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4532, allocations: 1.094 kB / 0.7239 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4532, allocations: 0 / 0.7239 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.4534, allocations: 198 kB / 0.724 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.4534, allocations: 6.453 kB / 0.724 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.4534, allocations: 4.891 kB / 0.724 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.079e-05/0.4534, allocations: 8.438 kB / 0.7241 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.4535, allocations: 6.906 kB / 0.7241 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.4535, allocations: 2.344 kB / 0.7241 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.751e-05/0.4535, allocations: 88.5 kB / 0.7242 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4535, allocations: 0 / 0.7242 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001565/0.4536, allocations: 10.97 kB / 0.7242 GB, free: 19.82 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: 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 8.733e-05/0.4537, allocations: 104.8 kB / 0.7243 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001532/0.4539, allocations: 69.12 kB / 0.7243 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.92e-07/0.4539, allocations: 0 / 0.7243 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.998e-05/0.4539, allocations: 31.73 kB / 0.7244 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.4541, allocations: 10.08 kB / 0.7244 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002192/0.4543, allocations: 138.2 kB / 0.7245 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.352e-05/0.4544, allocations: 65.17 kB / 0.7246 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.82e-05/0.4544, allocations: 4.172 kB / 0.7246 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.4544, allocations: 12.64 kB / 0.7246 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of SimCode: time 4.61e-07/0.4544, allocations: 0 / 0.7246 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.002202/0.4566, allocations: 0.84 MB / 0.7254 GB, free: 19.38 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.136954018031247] Failed to read output from testmodel.py, exit status != 0: 0.4625343349762261 0.46955652299999995 0.017673095 Calling exit ...