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.001251/0.001251, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001409/0.001409, allocations: 167.2 kB / 22.46 MB, free: 5.375 MB / 14.72 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.429/1.429, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 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-531:686: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-531:694: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.19/1.19, allocations: 154.6 MB / 413.8 MB, free: 5.223 MB / 382.1 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 3.747e-06/3.747e-06, allocations: 0 / 0.6186 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.697e-05/4.072e-05, allocations: 2.781 kB / 0.6186 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.002762/0.002803, allocations: 0.6465 MB / 0.6192 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00219/0.004992, allocations: 1.085 MB / 0.6203 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.005038, allocations: 4 kB / 0.6203 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.734e-05/0.005076, allocations: 7.922 kB / 0.6203 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.492e-05/0.005151, allocations: 7.938 kB / 0.6203 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.005479, allocations: 43.77 kB / 0.6203 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.005589, allocations: 43.86 kB / 0.6204 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.005698, allocations: 11.92 kB / 0.6204 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.005814, allocations: 31.97 kB / 0.6204 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.333e-05/0.005868, allocations: 15.91 kB / 0.6204 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.00589, allocations: 4 kB / 0.6204 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.739e-05/0.005967, allocations: 19.94 kB / 0.6204 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.97e-05/0.005997, allocations: 19.97 kB / 0.6205 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.691e-05/0.006094, allocations: 19.92 kB / 0.6205 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.006258, allocations: 59.84 kB / 0.6205 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.006261, allocations: 0 / 0.6205 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.11e-07/0.006261, allocations: 0 / 0.6205 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.006266, allocations: 4 kB / 0.6205 GB, free: 2.531 MB / 0.5294 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.0006395/0.006905, allocations: 294.1 kB / 0.6208 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.006947, allocations: 11.97 kB / 0.6208 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.007048, allocations: 8.938 kB / 0.6208 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.007179, allocations: 117.7 kB / 0.6209 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.007192, allocations: 384 / 0.6209 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.007205, allocations: 4.375 kB / 0.621 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.007421, allocations: 66.2 kB / 0.621 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.007431, allocations: 192 / 0.621 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.007447, allocations: 8.359 kB / 0.621 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.007452, allocations: 384 / 0.621 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.00765, allocations: 47.89 kB / 0.6211 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.008132, allocations: 216.5 kB / 0.6213 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.008317, allocations: 50.55 kB / 0.6213 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.008418, allocations: 24.97 kB / 0.6213 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.008444, allocations: 0 / 0.6213 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002217/0.008666, allocations: 79.31 kB / 0.6214 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.008667, allocations: 3.938 kB / 0.6214 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0004486/0.009115, allocations: 125.6 kB / 0.6215 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.009179, allocations: 55.41 kB / 0.6216 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.009281, allocations: 105.8 kB / 0.6217 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.0093, allocations: 25.7 kB / 0.6217 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.884e-05/0.009358, allocations: 84.14 kB / 0.6218 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.009384, allocations: 19.83 kB / 0.6218 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.009426, allocations: 17.72 kB / 0.6218 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.009589, allocations: 322.8 kB / 0.6221 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.009693, allocations: 23.98 kB / 0.6222 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.009809, allocations: 47.48 kB / 0.6222 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.01002, allocations: 83.33 kB / 0.6223 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01002, allocations: 0 / 0.6223 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002829/0.01031, allocations: 109.5 kB / 0.6224 GB, free: 428 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.01033, allocations: 7.938 kB / 0.6224 GB, free: 420 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.01033, allocations: 7.938 kB / 0.6224 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.01035, allocations: 3.984 kB / 0.6224 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.01047, allocations: 8 kB / 0.6224 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.01048, allocations: 7.984 kB / 0.6224 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.561e-05/0.01054, allocations: 4.5 kB / 0.6224 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.01055, allocations: 7.938 kB / 0.6224 GB, free: 380 kB / 0.5294 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.0001125/0.01067, allocations: 127.7 kB / 0.6226 GB, free: 244 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.01068, allocations: 7.891 kB / 0.6226 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.01098, allocations: 110.1 kB / 0.6227 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01098, allocations: 0 / 0.6227 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.01099, allocations: 0 / 0.6227 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.01099, allocations: 0 / 0.6227 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004813/0.01147, allocations: 298.1 kB / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01147, allocations: 0 / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.019e-05/0.01153, allocations: 11.98 kB / 0.623 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.01154, allocations: 4 kB / 0.623 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.01155, allocations: 0 / 0.623 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01155, allocations: 0 / 0.623 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01155, allocations: 0 / 0.623 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.0119, allocations: 203.3 kB / 0.6232 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.01191, allocations: 0 / 0.6232 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.01193, allocations: 0 / 0.6232 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.01203, allocations: 15.98 kB / 0.6232 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.01208, allocations: 12.02 kB / 0.6232 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.01209, allocations: 4 kB / 0.6232 GB, free: 15.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.07e-05/0.01214, allocations: 79.28 kB / 0.6233 GB, free: 15.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01215, allocations: 0 / 0.6233 GB, free: 15.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002506/0.0124, allocations: 19.94 kB / 0.6233 GB, free: 15.43 MB / 0.545 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.0001817/0.01258, allocations: 99.23 kB / 0.6234 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002888/0.01287, allocations: 68.27 kB / 0.6235 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01287, allocations: 0 / 0.6235 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.01299, allocations: 27.97 kB / 0.6235 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.01327, allocations: 14.09 kB / 0.6235 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003998/0.01367, allocations: 140.7 kB / 0.6236 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.147e-05/0.01374, allocations: 71.28 kB / 0.6237 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.842e-05/0.01377, allocations: 4.188 kB / 0.6237 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.0138, allocations: 12.5 kB / 0.6237 GB, free: 14.94 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.0138, allocations: 0 / 0.6237 GB, free: 14.94 MB / 0.545 GB Notification: Performance of Templates: time 0.004041/0.01784, allocations: 0.8247 MB / 0.6245 GB, free: 14.14 MB / 0.545 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: 5.657170131802559] Failed to read output from testmodel.py, exit status != 0: 0.02878754958510399 0.04203935 0.032608722 Calling exit ...