Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001803/0.001803, 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.002777/0.002777, allocations: 212.5 kB / 22.24 MB, free: 4.859 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.628/1.628, allocations: 230.6 MB / 256 MB, free: 7.801 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.308/1.308, allocations: 203.5 MB / 0.5038 GB, free: 4.914 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.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [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.002137/0.002137, allocations: 67.91 kB / 0.7183 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7617/0.7639, allocations: 102 MB / 0.8178 GB, free: 29.13 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002072/0.7659, allocations: 0.7409 MB / 0.8186 GB, free: 28.69 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001683/0.7676, allocations: 1.183 MB / 0.8197 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.642e-05/0.7677, allocations: 0.7188 kB / 0.8197 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.47e-05/0.7677, allocations: 4.875 kB / 0.8197 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.408e-05/0.7678, allocations: 21.17 kB / 0.8197 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006004/0.7684, allocations: 141.5 kB / 0.8199 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.7686, allocations: 125.9 kB / 0.82 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.7687, allocations: 17.55 kB / 0.82 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.7689, allocations: 52.77 kB / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.769, allocations: 42.66 kB / 0.8201 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.769, allocations: 11.06 kB / 0.8201 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.783e-05/0.7691, allocations: 30.41 kB / 0.8201 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.214e-05/0.7691, allocations: 18.45 kB / 0.8202 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 8.259e-05/0.7692, allocations: 39.86 kB / 0.8202 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.7695, allocations: 125.5 kB / 0.8203 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7695, allocations: 0.8438 kB / 0.8203 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7695, allocations: 0 / 0.8203 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.363e-06/0.7695, allocations: 0 / 0.8203 GB, free: 27.57 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006393/0.7701, allocations: 345.6 kB / 0.8206 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.7702, allocations: 9.125 kB / 0.8206 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.7703, allocations: 13.92 kB / 0.8207 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.7704, allocations: 115.5 kB / 0.8208 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.7705, allocations: 9.469 kB / 0.8208 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.7705, allocations: 9.094 kB / 0.8208 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.7707, allocations: 72.59 kB / 0.8209 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.7707, allocations: 5.406 kB / 0.8209 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.7707, allocations: 1.062 kB / 0.8209 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.7708, allocations: 1.656 kB / 0.8209 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.771, allocations: 51.73 kB / 0.8209 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.7715, allocations: 269.6 kB / 0.8212 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.7717, allocations: 62.16 kB / 0.8212 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.7718, allocations: 31.62 kB / 0.8213 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.7718, allocations: 0.6094 kB / 0.8213 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002911/0.7721, allocations: 89.88 kB / 0.8213 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.7721, allocations: 0 / 0.8213 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.0005327/0.7726, allocations: 148.1 kB / 0.8215 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.7727, allocations: 58.19 kB / 0.8215 GB, free: 26.58 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.7728, allocations: 125.5 kB / 0.8217 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.7728, allocations: 33.91 kB / 0.8217 GB, free: 26.44 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.7729, allocations: 93.95 kB / 0.8218 GB, free: 26.35 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.7729, allocations: 26 kB / 0.8218 GB, free: 26.33 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.609e-05/0.773, allocations: 38.5 kB / 0.8218 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.131e-05/0.7731, allocations: 324.4 kB / 0.8222 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.7733, allocations: 85.55 kB / 0.8222 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.7735, allocations: 117.8 kB / 0.8224 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.7738, allocations: 149.2 kB / 0.8225 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7738, allocations: 1.406 kB / 0.8225 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000458/0.7743, allocations: 247.7 kB / 0.8227 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/0.7743, allocations: 44.98 kB / 0.8228 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.7743, allocations: 0 / 0.8228 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.7743, allocations: 7.094 kB / 0.8228 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.7744, allocations: 13.73 kB / 0.8228 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.7744, allocations: 5.969 kB / 0.8228 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.7747, allocations: 38.97 kB / 0.8228 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.7747, allocations: 8.172 kB / 0.8228 GB, free: 25.54 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 8.439e-05/0.7748, allocations: 132.6 kB / 0.823 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.7748, allocations: 4.266 kB / 0.823 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003122/0.7751, allocations: 121.3 kB / 0.8231 GB, free: 25.36 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.7751, allocations: 2.172 kB / 0.8231 GB, free: 25.36 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.7751, allocations: 0 / 0.8231 GB, free: 25.36 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.7751, allocations: 0.7031 kB / 0.8231 GB, free: 25.36 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000371/0.7755, allocations: 326.1 kB / 0.8234 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7755, allocations: 3.5 kB / 0.8234 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.174e-05/0.7756, allocations: 8.859 kB / 0.8234 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.7756, allocations: 1.75 kB / 0.8234 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.7756, allocations: 2.125 kB / 0.8234 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.7756, allocations: 0.7969 kB / 0.8234 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7756, allocations: 0 / 0.8234 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.7759, allocations: 224.5 kB / 0.8236 GB, free: 24.92 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.7759, allocations: 18.06 kB / 0.8237 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.7759, allocations: 2.266 kB / 0.8237 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.753e-05/0.776, allocations: 10.59 kB / 0.8237 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.776, allocations: 10.09 kB / 0.8237 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.776, allocations: 7.359 kB / 0.8237 GB, free: 24.89 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.148e-05/0.7761, allocations: 94.58 kB / 0.8238 GB, free: 24.81 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5e-08/0.7761, allocations: 1.344 kB / 0.8238 GB, free: 24.81 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002764/0.7764, allocations: 24.47 kB / 0.8238 GB, free: 24.81 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: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001373/0.7765, allocations: 102.6 kB / 0.8239 GB, free: 24.72 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004078/0.7769, allocations: 196.8 kB / 0.8241 GB, free: 24.59 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.7769, allocations: 1.219 kB / 0.8241 GB, free: 24.59 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.777, allocations: 40.91 kB / 0.8241 GB, free: 24.58 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.7773, allocations: 15.89 kB / 0.8241 GB, free: 24.57 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.7777, allocations: 187.7 kB / 0.8243 GB, free: 24.42 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.144e-05/0.7778, allocations: 78.39 kB / 0.8244 GB, free: 24.34 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.683e-05/0.7779, allocations: 9.562 kB / 0.8244 GB, free: 24.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/0.7779, allocations: 10.66 kB / 0.8244 GB, free: 24.33 MB / 0.6387 GB Notification: Performance of SimCode: time 3.01e-07/0.7779, allocations: 0 / 0.8244 GB, free: 24.33 MB / 0.6387 GB Notification: Performance of Templates: time 0.005154/0.783, allocations: 1.595 MB / 0.826 GB, free: 24.16 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.306814892217517] Failed to read output from testmodel.py, exit status != 0: 0.7920640595257282 0.8056986930000001 0.033301372 Calling exit ...