Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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.001747/0.001747, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002138/0.002138, allocations: 215.1 kB / 22.25 MB, free: 5.262 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.643/1.643, allocations: 230.6 MB / 256 MB, free: 7.797 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.341/1.341, allocations: 203.5 MB / 0.5038 GB, free: 4.91 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.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [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.002084/0.002084, allocations: 63.91 kB / 0.7183 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7773/0.7794, allocations: 102 MB / 0.8178 GB, free: 29.08 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.002247/0.7816, allocations: 0.6553 MB / 0.8185 GB, free: 28.7 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.7832, allocations: 1.082 MB / 0.8195 GB, free: 27.92 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.668e-05/0.7832, allocations: 1.938 kB / 0.8195 GB, free: 27.92 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.564e-05/0.7833, allocations: 4.5 kB / 0.8195 GB, free: 27.92 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.288e-05/0.7834, allocations: 8.234 kB / 0.8195 GB, free: 27.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.7837, allocations: 46.44 kB / 0.8196 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.7839, allocations: 49.02 kB / 0.8196 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.784, allocations: 5.594 kB / 0.8196 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 8.087e-05/0.7841, allocations: 22.23 kB / 0.8197 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.566e-05/0.7841, allocations: 20.44 kB / 0.8197 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.7841, allocations: 5.875 kB / 0.8197 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-05/0.7842, allocations: 23.12 kB / 0.8197 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.634e-05/0.7843, allocations: 16.48 kB / 0.8197 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.727e-05/0.7843, allocations: 20.47 kB / 0.8197 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.7845, allocations: 55.84 kB / 0.8198 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.7845, allocations: 0 / 0.8198 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.265e-06/0.7845, allocations: 0.6875 kB / 0.8198 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.7845, allocations: 4.969 kB / 0.8198 GB, free: 27.8 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.0005885/0.7851, allocations: 296.2 kB / 0.8201 GB, free: 27.51 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.7852, allocations: 10.34 kB / 0.8201 GB, free: 27.51 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.7853, allocations: 6.891 kB / 0.8201 GB, free: 27.51 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.478e-05/0.7854, allocations: 109.2 kB / 0.8202 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.7854, allocations: 3.281 kB / 0.8202 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.7854, allocations: 4.438 kB / 0.8202 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.7856, allocations: 66.95 kB / 0.8203 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.7856, allocations: 5.094 kB / 0.8203 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.7856, allocations: 3.938 kB / 0.8203 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.7856, allocations: 2.531 kB / 0.8203 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.7858, allocations: 42.53 kB / 0.8203 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.7863, allocations: 226.3 kB / 0.8205 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.7865, allocations: 56.64 kB / 0.8206 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.7866, allocations: 34.67 kB / 0.8206 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.7866, allocations: 2.938 kB / 0.8206 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.7868, allocations: 68.5 kB / 0.8207 GB, free: 27 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.7868, allocations: 1.875 kB / 0.8207 GB, free: 27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=6): time 0.0004634/0.7873, allocations: 116.7 kB / 0.8208 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.7873, allocations: 58.42 kB / 0.8209 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.093e-05/0.7874, allocations: 109.4 kB / 0.821 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.7874, allocations: 31.22 kB / 0.821 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.063e-05/0.7874, allocations: 91.2 kB / 0.8211 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.7875, allocations: 16.28 kB / 0.8211 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.7875, allocations: 25.58 kB / 0.8211 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.411e-05/0.7876, allocations: 317.6 kB / 0.8214 GB, free: 26.31 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.7877, allocations: 21.72 kB / 0.8215 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.7878, allocations: 58.64 kB / 0.8215 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.788, allocations: 88.25 kB / 0.8216 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.788, allocations: 0.625 kB / 0.8216 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002892/0.7883, allocations: 117.5 kB / 0.8217 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.7883, allocations: 5.875 kB / 0.8217 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.7883, allocations: 2.734 kB / 0.8217 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.7884, allocations: 1.094 kB / 0.8217 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.7885, allocations: 15.98 kB / 0.8217 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.7885, allocations: 4.812 kB / 0.8217 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.271e-05/0.7886, allocations: 23.14 kB / 0.8218 GB, free: 26.13 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.7886, allocations: 3.891 kB / 0.8218 GB, free: 26.13 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (unitDelay1.u_internal,$PRE.unitDelay1.u_internal,unitDelay1.y,$PRE.unitDelay1.y,unitDelay1.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.904e-05/0.7887, allocations: 123.4 kB / 0.8219 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.7887, allocations: 2.812 kB / 0.8219 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.789, allocations: 103.7 kB / 0.822 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.789, allocations: 9.672 kB / 0.822 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.789, allocations: 0 / 0.822 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.789, allocations: 1.531 kB / 0.822 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003949/0.7894, allocations: 300.5 kB / 0.8223 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7894, allocations: 0 / 0.8223 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.677e-05/0.7894, allocations: 9.672 kB / 0.8223 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.7894, allocations: 0.6875 kB / 0.8223 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.7894, allocations: 1.172 kB / 0.8223 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.7894, allocations: 4.781 kB / 0.8223 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.7895, allocations: 4.75 kB / 0.8223 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.7898, allocations: 193.6 kB / 0.8225 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.059e-05/0.7898, allocations: 5.984 kB / 0.8225 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.7898, allocations: 2.266 kB / 0.8225 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.99e-05/0.7899, allocations: 6.672 kB / 0.8225 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.7899, allocations: 8.453 kB / 0.8225 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.79, allocations: 2.359 kB / 0.8225 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.415e-05/0.79, allocations: 86.86 kB / 0.8226 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.79, allocations: 4 kB / 0.8226 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002582/0.7903, allocations: 14.98 kB / 0.8226 GB, free: 25.43 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 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y,unitDelay1.u_internal) * Number of discrete states: 1 (unitDelay1.u_internal) * 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.0001502/0.7904, allocations: 101.3 kB / 0.8227 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000319/0.7907, allocations: 70.38 kB / 0.8228 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7907, allocations: 0.5625 kB / 0.8228 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.7909, allocations: 35.78 kB / 0.8228 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.7911, allocations: 5.469 kB / 0.8228 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.7915, allocations: 137.1 kB / 0.8229 GB, free: 25.19 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.863e-05/0.7915, allocations: 70.47 kB / 0.823 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.313e-05/0.7916, allocations: 3.672 kB / 0.823 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/0.7916, allocations: 11.89 kB / 0.823 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of SimCode: time 2.9e-07/0.7916, allocations: 0 / 0.823 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of Templates: time 0.004159/0.7958, allocations: 0.8649 MB / 0.8239 GB, free: 24.99 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.270032811909914] Failed to read output from testmodel.py, exit status != 0: 0.8043679539114237 0.817022012 0.029704385000000003 Calling exit ...