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.000852/0.000852, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.0009308/0.0009308, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.8885/0.8885, allocations: 177.2 MB / 203.6 MB, free: 5.754 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-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 0.7344/0.7344, allocations: 154.7 MB / 414.7 MB, free: 0.7383 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: 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.0009285/0.0009285, allocations: 71.89 kB / 0.6195 GB, free: 13.15 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4738/0.4748, allocations: 102 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001382/0.4762, allocations: 0.6436 MB / 0.7197 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009478/0.4771, allocations: 1.083 MB / 0.7208 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/0.4771, allocations: 4 kB / 0.7208 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.4772, allocations: 5.484 kB / 0.7208 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.98e-05/0.4772, allocations: 5.641 kB / 0.7208 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.4775, allocations: 47.59 kB / 0.7208 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.464e-05/0.4776, allocations: 44.86 kB / 0.7209 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.4777, allocations: 13.22 kB / 0.7209 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.95e-05/0.4778, allocations: 35.09 kB / 0.7209 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.011e-05/0.4778, allocations: 20.62 kB / 0.7209 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.4778, allocations: 4.312 kB / 0.721 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.354e-05/0.4779, allocations: 19.22 kB / 0.721 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.4779, allocations: 13.05 kB / 0.721 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.478, allocations: 17.7 kB / 0.721 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.4781, allocations: 72.08 kB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.4781, allocations: 1.156 kB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4781, allocations: 0 / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.4781, allocations: 0 / 0.7211 GB, free: 22.3 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.0004737/0.4786, allocations: 294.1 kB / 0.7214 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.4786, allocations: 9.875 kB / 0.7214 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.595e-05/0.4787, allocations: 3.859 kB / 0.7214 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.989e-05/0.4788, allocations: 126.2 kB / 0.7215 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.4788, allocations: 7.078 kB / 0.7215 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.4788, allocations: 2.531 kB / 0.7215 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.4789, allocations: 67.33 kB / 0.7216 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.4789, allocations: 192 / 0.7216 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.479, allocations: 4.688 kB / 0.7216 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.479, allocations: 1.219 kB / 0.7216 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.4791, allocations: 41.97 kB / 0.7216 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.4794, allocations: 212 kB / 0.7218 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.4795, allocations: 55.3 kB / 0.7219 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.344e-05/0.4795, allocations: 32 kB / 0.7219 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.4796, allocations: 1.984 kB / 0.7219 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.4797, allocations: 76.31 kB / 0.722 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.4797, allocations: 0 / 0.722 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002797/0.48, allocations: 131 kB / 0.7221 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.48, allocations: 53.59 kB / 0.7221 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.4e-05/0.48, allocations: 104.4 kB / 0.7222 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.48, allocations: 26.31 kB / 0.7223 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.558e-05/0.4801, allocations: 86.2 kB / 0.7223 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.4801, allocations: 13.09 kB / 0.7224 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.4801, allocations: 25.45 kB / 0.7224 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.604e-05/0.4802, allocations: 316.1 kB / 0.7227 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.047e-05/0.4802, allocations: 27.42 kB / 0.7227 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.189e-05/0.4803, allocations: 55.08 kB / 0.7228 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.4804, allocations: 85.55 kB / 0.7228 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4804, allocations: 0 / 0.7228 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001458/0.4805, allocations: 111.5 kB / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.4806, allocations: 5.094 kB / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4806, allocations: 1.094 kB / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.4806, allocations: 6.906 kB / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.817e-05/0.4806, allocations: 13.06 kB / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.4807, allocations: 2.094 kB / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.354e-05/0.4807, allocations: 10.89 kB / 0.723 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.4807, allocations: 7.406 kB / 0.723 GB, free: 20.63 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.988e-05/0.4807, allocations: 116.1 kB / 0.7231 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-06/0.4808, allocations: 10.5 kB / 0.7231 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.4809, allocations: 108.1 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4809, allocations: 1.766 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4809, allocations: 0 / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-06/0.4809, allocations: 2.703 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.4809, allocations: 1.797 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.32e-05/0.481, allocations: 7.859 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.481, allocations: 12.8 kB / 0.7232 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001645/0.4812, allocations: 180.5 kB / 0.7234 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001816/0.4814, allocations: 272.1 kB / 0.7237 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.775e-05/0.4814, allocations: 29.91 kB / 0.7237 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.287e-05/0.4815, allocations: 85.94 kB / 0.7238 GB, free: 20 MB / 0.6355 GB Notification: Performance of Backend: time 1.3e-07/0.4815, allocations: 0 / 0.7238 GB, free: 20 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003573/0.4818, allocations: 122.1 kB / 0.7239 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003851/0.4822, allocations: 0.5825 MB / 0.7245 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of Templates: time 0.003241/0.4854, allocations: 1.021 MB / 0.7255 GB, free: 19.21 MB / 0.6355 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: 4.261656015878543] Failed to read output from testmodel.py, exit status != 0: 0.4920075910631567 0.50189554 0.021920761 Calling exit ...