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.00154/0.00154, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001723/0.001723, allocations: 217.2 kB / 22.25 MB, free: 4.855 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.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.268/1.268, allocations: 203.5 MB / 0.5038 GB, free: 4.922 MB / 414.1 MB " [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: 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.002122/0.002122, allocations: 67.89 kB / 0.7183 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6783/0.6804, allocations: 102 MB / 0.8178 GB, free: 29.11 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001957/0.6823, allocations: 0.6581 MB / 0.8185 GB, free: 28.73 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.6838, allocations: 1.082 MB / 0.8195 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/0.6839, allocations: 0.5625 kB / 0.8195 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.423e-05/0.6839, allocations: 5.156 kB / 0.8195 GB, free: 27.94 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.918e-05/0.684, allocations: 5.766 kB / 0.8195 GB, free: 27.94 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.6843, allocations: 44.72 kB / 0.8196 GB, free: 27.91 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.6844, allocations: 44.67 kB / 0.8196 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.6845, allocations: 13.91 kB / 0.8196 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 8.338e-05/0.6846, allocations: 18.91 kB / 0.8197 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.712e-05/0.6847, allocations: 21.5 kB / 0.8197 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.6847, allocations: 3.719 kB / 0.8197 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 8.447e-05/0.6848, allocations: 23.27 kB / 0.8197 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/0.6848, allocations: 7.969 kB / 0.8197 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.6849, allocations: 25.11 kB / 0.8197 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.685, allocations: 63.95 kB / 0.8198 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.685, allocations: 1.125 kB / 0.8198 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.174e-06/0.685, allocations: 0 / 0.8198 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.685, allocations: 1.031 kB / 0.8198 GB, free: 27.82 MB / 0.6387 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.0006087/0.6857, allocations: 295.9 kB / 0.8201 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.6857, allocations: 8.531 kB / 0.8201 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.6858, allocations: 5.391 kB / 0.8201 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.614e-05/0.6859, allocations: 111.1 kB / 0.8202 GB, free: 27.41 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.6859, allocations: 2.5 kB / 0.8202 GB, free: 27.41 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.686, allocations: 8 kB / 0.8202 GB, free: 27.41 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.6862, allocations: 63.61 kB / 0.8203 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.6862, allocations: 1.703 kB / 0.8203 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.6862, allocations: 3.938 kB / 0.8203 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.6862, allocations: 1.406 kB / 0.8203 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.6864, allocations: 50.91 kB / 0.8203 GB, free: 27.35 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.6868, allocations: 209.6 kB / 0.8205 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.687, allocations: 56.25 kB / 0.8206 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.6871, allocations: 35.16 kB / 0.8206 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.6872, allocations: 1.875 kB / 0.8206 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.6874, allocations: 80.66 kB / 0.8207 GB, free: 27.03 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.6874, allocations: 2.656 kB / 0.8207 GB, free: 27.03 MB / 0.6387 GB Notification: Performance of matching and sorting (n=6): time 0.0004552/0.6878, allocations: 124 kB / 0.8208 GB, free: 26.97 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.6879, allocations: 52.5 kB / 0.8209 GB, free: 26.91 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.688, allocations: 105.9 kB / 0.821 GB, free: 26.81 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.688, allocations: 25.7 kB / 0.821 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.688, allocations: 87.86 kB / 0.8211 GB, free: 26.69 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.688, allocations: 19.53 kB / 0.8211 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.6881, allocations: 30.66 kB / 0.8211 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.857e-05/0.6881, allocations: 312.9 kB / 0.8214 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.6882, allocations: 24.94 kB / 0.8214 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.6883, allocations: 54.89 kB / 0.8215 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.6886, allocations: 80.61 kB / 0.8216 GB, free: 26.25 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6886, allocations: 0 / 0.8216 GB, free: 26.25 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002813/0.6888, allocations: 107.7 kB / 0.8217 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.6889, allocations: 6.875 kB / 0.8217 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.6889, allocations: 1.5 kB / 0.8217 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.6889, allocations: 4.125 kB / 0.8217 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.689, allocations: 13.72 kB / 0.8217 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.689, allocations: 1.844 kB / 0.8217 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.076e-05/0.6891, allocations: 7.219 kB / 0.8217 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.6891, allocations: 6.906 kB / 0.8217 GB, free: 26.19 MB / 0.6387 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 7.609e-05/0.6892, allocations: 124.9 kB / 0.8218 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.6892, allocations: 9.234 kB / 0.8218 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.6895, allocations: 101.5 kB / 0.8219 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.6895, allocations: 1.156 kB / 0.8219 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.6895, allocations: 2.031 kB / 0.8219 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.6895, allocations: 4 kB / 0.8219 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004052/0.6899, allocations: 293.1 kB / 0.8222 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6899, allocations: 4 kB / 0.8222 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.768e-05/0.69, allocations: 10.03 kB / 0.8222 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.69, allocations: 0.5 kB / 0.8222 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.69, allocations: 1.828 kB / 0.8222 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.69, allocations: 0.7812 kB / 0.8222 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.69, allocations: 0 / 0.8222 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.6903, allocations: 202.1 kB / 0.8224 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.201e-05/0.6903, allocations: 10.39 kB / 0.8224 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.6903, allocations: 9.672 kB / 0.8224 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.6904, allocations: 8.125 kB / 0.8225 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.6905, allocations: 8.891 kB / 0.8225 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.6905, allocations: 2.203 kB / 0.8225 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.28e-05/0.6905, allocations: 85.92 kB / 0.8225 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.6905, allocations: 0.5312 kB / 0.8225 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002624/0.6908, allocations: 10.97 kB / 0.8226 GB, free: 25.49 MB / 0.6387 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.0001525/0.691, allocations: 96.81 kB / 0.8227 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003572/0.6913, allocations: 76.66 kB / 0.8227 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6913, allocations: 0.5 kB / 0.8227 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.6915, allocations: 31.69 kB / 0.8228 GB, free: 25.37 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.6917, allocations: 12.02 kB / 0.8228 GB, free: 25.36 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.6921, allocations: 131.8 kB / 0.8229 GB, free: 25.24 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.568e-05/0.6922, allocations: 69.86 kB / 0.823 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.33e-05/0.6922, allocations: 4.5 kB / 0.823 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.6923, allocations: 11.22 kB / 0.823 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of SimCode: time 2.81e-07/0.6923, allocations: 0 / 0.823 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of Templates: time 0.004072/0.6963, allocations: 0.8491 MB / 0.8238 GB, free: 25.05 MB / 0.6387 GB " [Timeout remaining time 659] 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.966976121068001] Failed to read output from testmodel.py, exit status != 0: 0.7050847802311182 0.7175565300000001 0.029854596 Calling exit ...